summaryrefslogtreecommitdiff
path: root/regcomp.sym
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-03-27 20:59:38 -0600
committerKarl Williamson <khw@cpan.org>2020-10-16 07:01:40 -0600
commitf97d9711c850a2acc3e6bc7156ce1e23f957b460 (patch)
tree90114a9440722b30d91eec67b8f54680d22d93d8 /regcomp.sym
parent5f162c354443de3e4d8e95f01acd019ab5bf32a9 (diff)
downloadperl-f97d9711c850a2acc3e6bc7156ce1e23f957b460.tar.gz
regcomp.sym: Make adjacent opcodes for 2 similar regnodes
These are often tested together. By making them adjacent we can use inRANGE.
Diffstat (limited to 'regcomp.sym')
-rw-r--r--regcomp.sym3
1 files changed, 2 insertions, 1 deletions
diff --git a/regcomp.sym b/regcomp.sym
index 8ef8684144..1105173ced 100644
--- a/regcomp.sym
+++ b/regcomp.sym
@@ -145,6 +145,8 @@ EXACTFU EXACT, str ; Like EXACT, but match using /iu rules; (string f
# fold to 'ss', but because of /aa, it instead folds to a pair of LATIN SMALL
# LETTER LONG S characters (U+017F)
EXACTFAA EXACT, str ; Like EXACT, but match using /iaa rules; (string folded except MICRO in non-UTF8 patterns; doesn't contain SHARP S unless UTF-8; folded length <= unfolded)
+# must immediately follow EXACTFAA
+EXACTFAA_NO_TRIE EXACT, str ; Like EXACTFAA, (string not UTF-8, folded except: MICRO, SHARP S; folded length <= unfolded, not currently trie-able)
# End of important relative ordering.
@@ -156,7 +158,6 @@ EXACTFUP EXACT, str ; Like EXACT, but match using /iu rules; (string n
# representable in the UTF-8 target string.
EXACTFLU8 EXACT, str ; Like EXACTFU, but use /il, UTF-8, (string is folded, and everything in it is above 255
-EXACTFAA_NO_TRIE EXACT, str ; Like EXACTFAA, (string not UTF-8, folded except: MICRO, SHARP S; folded length <= unfolded, not currently trie-able)
EXACT_REQ8 EXACT, str ; Like EXACT, but only UTF-8 encoded targets can match