http://codereview.chromium.org/1994019/diff/1/2
File src/string.js (right):

http://codereview.chromium.org/1994019/diff/1/2#newcode399
src/string.js:399: // If start isn't valid, return undefined.
lastCaptureInfo holds alternating start/end points of captures, with -1
for nonparticipating captures (the part of the regexp containing the
capture isn't part of the actual match).
We never return a result with a non-negative start point and negative
end (and if anyone deliberately munges lastCaptureInfo, SubString checks
its arguments too)

http://codereview.chromium.org/1994019/show

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to