diff options
author | Adam Chlipala <adam@chlipala.net> | 2010-08-10 15:55:43 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2010-08-10 15:55:43 -0400 |
commit | 06f9a1fcbb40856fae744e49be3bf0e166246293 (patch) | |
tree | 407556eab027f66694f1ddc3a0d4c1813e1b120f /src/urweb.lex | |
parent | 55a669bc95cb2831f5a4fc084d2aa828863a1f07 (diff) |
Better UTF-8 escaping for JavaScript and SQL literals
Diffstat (limited to 'src/urweb.lex')
-rw-r--r-- | src/urweb.lex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/urweb.lex b/src/urweb.lex index 88b7d857..27af5bdd 100644 --- a/src/urweb.lex +++ b/src/urweb.lex @@ -173,7 +173,7 @@ ws = [\ \t\012]; intconst = [0-9]+; realconst = [0-9]+\.[0-9]*; notags = [^<{\n(]+; -xcom = ([^-]|(-[^-]))+; +xcom = ([^\-]|(-[^\-]))+; oint = [0-9][0-9][0-9]; xint = x[0-9a-fA-F][0-9a-fA-F]; |