-
Won't this be sufficient? - string := '"' ('\\' ["\\] | [^"])* '"'
+ string := '"' ('\\' ["] | [^"])* '"' Nearly version for testing: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Apparently the grammar changed a bit while I was writing this. Should be OK. |
Beta Was this translation helpful? Give feedback.
-
The string grammar has been fixed and expanded so this should be done :) |
Beta Was this translation helpful? Give feedback.
-
The reason I put it in like that is to be able to escape backslashes at the end of the string. Otherwise |
Beta Was this translation helpful? Give feedback.
The string grammar has been fixed and expanded so this should be done :)