Merge pull request #408 from danielstutzman/escape-null-in-regex

Don't unescape \x00 in regexes (it breaks IE8)
This commit is contained in:
Mihai Bazon
2014-01-26 00:06:19 -08:00

View File

@@ -1140,6 +1140,7 @@ function OutputStream(options) {
0x21 , // !
0x0a , // \n
0x0d , // \r
0x00 , // \0
0xfeff , // Unicode BOM
0x2028 , // unicode "line separator"
0x2029 , // unicode "paragraph separator"