Description[regexp] Consider surrogate pairs when optimizing disjunctions
RationalizeConsecutiveAtoms optimizes ab|ac|az to a(?:b|c|d).
Ensure that this optimization does not split surrogate pairs in unicode
mode.
BUG=chromium:641091
Review-Url: https://codereview.chromium.org/2813893002
Cr-Commit-Position: refs/heads/master@{#44599}
Committed: https://chromium.googlesource.com/v8/v8/+/4635572471b28a38f04307fabc69d5e1802d1049
Patch Set 1 #Patch Set 2 : Address offline comments #Patch Set 3 : Rebase #Patch Set 4 : DCHECK(!IsLeadSurrogate) #
Messages
Total messages: 22 (17 generated)
|