Description[regexp] Allow named captures and back-references in non-unicode patterns
Previously, named captures (and related functionality) were restricted to
unicode-mode regexps.
This CL extends that support to non-unicode patterns. Named groups are
supported regardless of the mode, and named back-references are supported if
the regexp is in unicode mode or if it contains a named capture (otherwise '\k'
is treated as an identity escape).
BUG=v8:5437, v8:6192
Review-Url: https://codereview.chromium.org/2788873002
Cr-Commit-Position: refs/heads/master@{#44324}
Committed: https://chromium.googlesource.com/v8/v8/+/a3be9e78c1bdb9332853cf37004697b737f1665f
Patch Set 1 #
Total comments: 1
Messages
Total messages: 14 (9 generated)
|