Add regnode EXACTFU_ONLY8
authorKarl Williamson <khw@cpan.org>
Tue, 27 Nov 2018 16:42:45 +0000 (09:42 -0700)
committerKarl Williamson <khw@cpan.org>
Tue, 27 Nov 2018 16:54:46 +0000 (09:54 -0700)
commita9f8c7ac75c364c3e05305718f38c5f8ccd935d8
tree52f54e16dc812f810621bf5ced938f50045112d9
parentf6b4b99d2e584fbcd85eeed475eea10b87858e54
Add regnode EXACTFU_ONLY8

This is a regnode that otherwise would be an EXACTFU except that it
contains a code point that requires UTF-8 to match, including all the
possible folds involving it.  Hence if the target string isn't UTF-8, we
know it can't possibly match, without needing to try.

For completeness, there could also be an EXACTFAA_ONLY8 and an
EXACTFL_ONLY8 created, but I think these are unlikely to actually appear
in the wild, since using /aa is mainly about ASCII, and /l mostly will
involve characters that don't require UTF-8.
pod/perldebguts.pod
regcomp.c
regcomp.sym
regexec.c
regnodes.h