Description[regexp] Disallow '\' in capture names
IdentifierStart::Is and IdentifierContinue::Is both return true for '\'.
The reason for this is lost to history.
Special-case '\' in the regexp parser to handle this.
BUG=v8:5437, v8:5868
Review-Url: https://codereview.chromium.org/2795093003
Cr-Commit-Position: refs/heads/master@{#44396}
Committed: https://chromium.googlesource.com/v8/v8/+/d890ec3261b09aca90e50b8a814a737602b071cf
Patch Set 1 #Patch Set 2 : Also fix ID_Continue #
Messages
Total messages: 15 (11 generated)
|