Change to hex from \ escapes
authorGavin Carothers <gavin@carothers.name>
Wed, 21 Mar 2012 14:31:38 -0700
changeset 230 088a2efecee1
parent 225 038053919b43
child 231 b70d37f4074a
Change to hex from \ escapes
rdf-turtle/turtle.bnf
--- a/rdf-turtle/turtle.bnf	Wed Mar 21 08:48:37 2012 -0700
+++ b/rdf-turtle/turtle.bnf	Wed Mar 21 14:31:38 2012 -0700
@@ -98,9 +98,9 @@
  
 [86s] EXPONENT ::= [eE] [+-]? [0-9]+ 
  
-[87s] STRING_LITERAL1 ::= "'" ( ( [^'\\\n\r] ) | ECHAR | UCHAR )* "'" 
+[148s] STRING_LITERAL1 ::= '"' ( ( [^#x27#x5C#xA#xD]) | ECHAR | UCHAR )* '"' 
  
-[88s] STRING_LITERAL2 ::= '"' ( ( [^\"\\\n\r] ) | ECHAR | UCHAR )* '"' 
+[149s] STRING_LITERAL2 ::= '"' ( ( [^#x22#x5C#xA#xD]) | ECHAR | UCHAR )* '"' 
  
 [89s] STRING_LITERAL_LONG1 ::= "'''" ( ( "'" | "''" )? ( [^'\\] | ECHAR | UCHAR ) )* "'''"