| Index: LayoutTests/fast/js/script-tests/regexp-lastindex.js
|
| diff --git a/LayoutTests/fast/js/script-tests/regexp-lastindex.js b/LayoutTests/fast/js/script-tests/regexp-lastindex.js
|
| deleted file mode 100644
|
| index 88f6c00b0b6b4515ad300dac4965543679b5d5f5..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/fast/js/script-tests/regexp-lastindex.js
|
| +++ /dev/null
|
| @@ -1,12 +0,0 @@
|
| -description(
|
| -'Test for regression against <a href="https://bugs.webkit.org/show_bug.cgi?id=5602">REGRESSION: RegExp("[^\\s$]+", "g") returns extra matches</a>'
|
| -);
|
| -
|
| -var re = new RegExp("[^\\s$]+", "g");
|
| -var accumulate = "";
|
| -var match;
|
| -shouldBe('while (match = re.exec(" abcdefg")) accumulate += match + "; "; accumulate', '"abcdefg; "');
|
| -
|
| -var re = new RegExp(/\d/g);
|
| -accumulate = "";
|
| -shouldBe('while (match = re.exec("123456789")) accumulate += match + "; "; accumulate', '"1; 2; 3; 4; 5; 6; 7; 8; 9; "');
|
|
|