allow URIs to have '_'s
authorEric Prud'hommeaux <eric@w3.org>
Thu, 28 Jan 2010 22:59:00 -0500
changeset 141 86680e9e0be3
parent 140 25e31444795b
child 142 c6714b599c35
allow URIs to have '_'s
src/main/scala/SPARQL.scala
--- a/src/main/scala/SPARQL.scala	Thu Jan 28 22:49:00 2010 -0500
+++ b/src/main/scala/SPARQL.scala	Thu Jan 28 22:59:00 2010 -0500
@@ -6,7 +6,7 @@
 
 object MyParsers extends RegexParsers {
 
-  val uri = """[a-zA-Z0-9:/#\.]+""".r
+  val uri = """[a-zA-Z0-9:/#_\.]+""".r
   val name = """[a-zA-Z_][a-zA-Z0-9_]*""".r
   var prefixes:Map[String, String] = Map()
 }