need to escape \

This commit is contained in:
ndparker 2013-10-13 17:43:27 +02:00
parent f7d6457e2d
commit 06e2baf945

View File

@ -31,7 +31,7 @@ following ways:
- there is no error detection: unterminated string, regex and comment
literals are treated as regular javascript code and minified as such.
- Control characters inside string and regex literals are left untouched; they
are not converted to spaces (nor to \n)
are not converted to spaces (nor to \\n)
- Newline characters are not allowed inside string and regex literals, except
for line continuations in string literals (ECMA-5).
- "``return /regex/``" is recognized correctly.