fix up test styling and add use-strict declarator

This commit is contained in:
Sebastian McKenzie
2014-10-18 15:42:36 +11:00
parent 6c48e6cd66
commit dcaea68240
198 changed files with 697 additions and 447 deletions

View File

@@ -1,2 +1,6 @@
var string = 'foo\uD83D\uDCA9bar';
var match = string.match(/foo((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uDC00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF]))bar/);
"use strict";
var string = "foo💩bar";
var match = string.match(
/foo((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uDC00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF]))bar/
);