add ignore non-unicode regex test

This commit is contained in:
Sebastian McKenzie
2014-10-11 23:40:11 +11:00
parent 16010575b5
commit b04e1139e8
2 changed files with 4 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
var string = 'foo💩bar';
var match = string.match(/foo(.)bar/);

View File

@@ -0,0 +1,2 @@
var string = 'foo\uD83D\uDCA9bar';
var match = string.match(/foo(.)bar/);