add ignore non-unicode regex test
This commit is contained in:
2
test/fixtures/syntax/unicode-regex/ignore-non-unicode/actual.js
vendored
Normal file
2
test/fixtures/syntax/unicode-regex/ignore-non-unicode/actual.js
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
var string = 'foo💩bar';
|
||||
var match = string.match(/foo(.)bar/);
|
||||
2
test/fixtures/syntax/unicode-regex/ignore-non-unicode/expected.js
vendored
Normal file
2
test/fixtures/syntax/unicode-regex/ignore-non-unicode/expected.js
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
var string = 'foo\uD83D\uDCA9bar';
|
||||
var match = string.match(/foo(.)bar/);
|
||||
Reference in New Issue
Block a user