diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2011-07-05 14:40:13 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-07-05 14:51:29 -0700 |
commit | 149562555c9bf56457dee9a1ad70c53ed670a776 (patch) | |
tree | f6217cf3c54ddbee03f37247a3c7c75203f868fd /deps/v8/test/mjsunit/regexp-capture.js | |
parent | f08720606757577d95bd09b48697c7decbf17f00 (diff) | |
download | node-new-149562555c9bf56457dee9a1ad70c53ed670a776.tar.gz |
Downgrade V8 to 3.1.8.25
There are serious performance regressions both in V8 and our own legacy
networking stack. Until we correct our own problems we are going back to the
old V8.
Diffstat (limited to 'deps/v8/test/mjsunit/regexp-capture.js')
-rwxr-xr-x | deps/v8/test/mjsunit/regexp-capture.js | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/deps/v8/test/mjsunit/regexp-capture.js b/deps/v8/test/mjsunit/regexp-capture.js index 8aae71795a..dc24491d9c 100755 --- a/deps/v8/test/mjsunit/regexp-capture.js +++ b/deps/v8/test/mjsunit/regexp-capture.js @@ -39,20 +39,19 @@ assertEquals(0, "y".search(/(x)?\1y/)); assertEquals("z", "y".replace(/(x)?\1y/, "z")); assertEquals("", "y".replace(/(x)?y/, "$1")); assertEquals("undefined", "y".replace(/(x)?\1y/, - function($0, $1){ - return String($1); + function($0, $1){ + return String($1); })); -assertEquals("undefined", "y".replace(/(x)?y/, - function($0, $1){ - return String($1); +assertEquals("undefined", "y".replace(/(x)?y/, + function($0, $1){ + return String($1); })); -assertEquals("undefined", "y".replace(/(x)?y/, - function($0, $1){ - return $1; +assertEquals("undefined", "y".replace(/(x)?y/, + function($0, $1){ + return $1; })); // See https://bugzilla.mozilla.org/show_bug.cgi?id=476146 -assertEquals(["bbc", "b"], /^(b+|a){1,2}?bc/.exec("bbc")); -assertEquals(["bbaa", "a", "", "a"], - /((\3|b)\2(a)){2,}/.exec("bbaababbabaaaaabbaaaabba")); +assertEquals("bbc,b", /^(b+|a){1,2}?bc/.exec("bbc")); +assertEquals("bbaa,a,,a", /((\3|b)\2(a)){2,}/.exec("bbaababbabaaaaabbaaaabba")); |