Ensure that a call to String.prototype.match with a
authorerikcorry <erikcorry@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 10 Apr 2012 10:42:25 +0000 (10:42 +0000)
committererikcorry <erikcorry@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 10 Apr 2012 10:42:25 +0000 (10:42 +0000)
commitf90e665e9aaa2641e41255a86e34c93ab04e4aa6
tree1410c1c3b5a60efa42cddd41f27397e809d6e226
parentd18eaffdae9d0f3993f30e6c999388bc5e45ae47
Ensure that a call to String.prototype.match with a
global regexp after a call to String.prototype.replace
with a function argument sets the last match info
correctly.  Bug=2058
Review URL: http://codereview.chromium.org/10029009

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@11249 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/string.js
test/mjsunit/regress/regress-2058.js [new file with mode: 0644]