Quantified look-aheads are sometimes removed entirely, leaving only a
authorlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 12 Dec 2008 10:22:56 +0000 (10:22 +0000)
committerlrn@chromium.org <lrn@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 12 Dec 2008 10:22:56 +0000 (10:22 +0000)
commit09e3c76137e76aa7359677e7bfe147958e3b44a8
treed47f31b4b62fb9f5dbe2c897933480d801f465e2
parent2a84fa4128edf10388382df25c192abc3e2be89b
Quantified look-aheads are sometimes removed entirely, leaving only a
single atom node. A flag was not set in this case, leading the wrapper
code to think the pattern was equal to the atom and use the pattern
in the indexOf operation.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@971 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/jsregexp.cc
src/jsregexp.h
src/parser.cc
test/cctest/test-regexp.cc