need to escape \
This commit is contained in:
parent
f7d6457e2d
commit
06e2baf945
@ -31,7 +31,7 @@ following ways:
|
|||||||
- there is no error detection: unterminated string, regex and comment
|
- there is no error detection: unterminated string, regex and comment
|
||||||
literals are treated as regular javascript code and minified as such.
|
literals are treated as regular javascript code and minified as such.
|
||||||
- Control characters inside string and regex literals are left untouched; they
|
- 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
|
- Newline characters are not allowed inside string and regex literals, except
|
||||||
for line continuations in string literals (ECMA-5).
|
for line continuations in string literals (ECMA-5).
|
||||||
- "``return /regex/``" is recognized correctly.
|
- "``return /regex/``" is recognized correctly.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user