Description[regexp] Fix numbered reference before named capture
Numbered back-references that occur before the referenced capture
trigger an internal mini-parser that looks ahead in the pattern and
counts capturing groups.
This updates the mini-parser to correctly handle named captures.
BUG=v8:5437
Review-Url: https://codereview.chromium.org/2792523002
Cr-Commit-Position: refs/heads/master@{#44303}
Committed: https://chromium.googlesource.com/v8/v8/+/3f8b2aeb3587dad6a279d439db56db785197253a
Patch Set 1 #
Messages
Total messages: 12 (8 generated)
|