Chromium Code Reviews| Index: test/mjsunit/regexp-capture-3.js |
| =================================================================== |
| --- test/mjsunit/regexp-capture-3.js (revision 11422) |
| +++ test/mjsunit/regexp-capture-3.js (working copy) |
| @@ -149,6 +149,8 @@ |
| assertEquals("bar", RegExp.$1); |
| +// A test that initially does a zero width match, but later does a non-zero |
| +// width match. |
| var a = "foo bar baz".replace(/^|bar/g, ""); |
| assertEquals("foo baz", a); |