diff options
author | Karl Williamson <khw@cpan.org> | 2021-06-30 13:01:49 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2021-08-07 05:59:15 -0600 |
commit | e1a9b7adc32d702958dc07123a3e3ee55af05ad1 (patch) | |
tree | 1667773e9b957193a642d30b6fa46712061b9107 /regen | |
parent | 42b360b2e07dd1c42764c476a72cc282a4400ce9 (diff) | |
download | perl-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-x | regen/regcharclass.pl | 2 |
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 |