summaryrefslogtreecommitdiff
path: root/regen
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2021-06-30 13:01:49 -0600
committerKarl Williamson <khw@cpan.org>2021-08-07 05:59:15 -0600
commite1a9b7adc32d702958dc07123a3e3ee55af05ad1 (patch)
tree1667773e9b957193a642d30b6fa46712061b9107 /regen
parent42b360b2e07dd1c42764c476a72cc282a4400ce9 (diff)
downloadperl-e1a9b7adc32d702958dc07123a3e3ee55af05ad1.tar.gz
regcharclass.pl: Add fast surrogate UTF-8 trie
This will be used in the next commit. It requires only the first two bytes to determine if a UTF-8 or UTF-EBCDIC sequence is for a surrogate
Diffstat (limited to 'regen')
-rwxr-xr-xregen/regcharclass.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/regen/regcharclass.pl b/regen/regcharclass.pl
index 4f8a5ee042..890dd23208 100755
--- a/regen/regcharclass.pl
+++ b/regen/regcharclass.pl
@@ -1806,7 +1806,7 @@ LARGER_NON_CHARS: # 5 bytes
0x10FFFE - 0x10FFFF
SURROGATE: Surrogate code points
-=> UTF8 :safe
+=> UTF8 :safe fast
\p{_Perl_Surrogate}
QUOTEMETA: Meta-characters that \Q should quote