summaryrefslogtreecommitdiff
path: root/pod/perldebguts.pod
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2018-11-17 15:51:19 -0700
committerKarl Williamson <khw@cpan.org>2018-11-27 09:54:46 -0700
commitf6b4b99d2e584fbcd85eeed475eea10b87858e54 (patch)
tree8ecdbacbe8841a096baf9453e3afb486d530ecf1 /pod/perldebguts.pod
parent51fa1a74ca7dc85c6e81e990c50128380cac9da5 (diff)
downloadperl-f6b4b99d2e584fbcd85eeed475eea10b87858e54.tar.gz
Add regnode EXACT_ONLY8
This is a regnode that otherwise would be an EXACT except that it contains a code point that requires UTF-8 to represent. Hence if the target string isn't UTF-8, we know it can't possibly match, without needing to try.
Diffstat (limited to 'pod/perldebguts.pod')
-rw-r--r--pod/perldebguts.pod3
1 files changed, 3 insertions, 0 deletions
diff --git a/pod/perldebguts.pod b/pod/perldebguts.pod
index 8930e11a1a..e625d02ff9 100644
--- a/pod/perldebguts.pod
+++ b/pod/perldebguts.pod
@@ -674,6 +674,9 @@ will be lost.
not guaranteed to be folded) using /iaa
rules (w/len).
+ EXACT_ONLY8 str Like EXACT, but no strings that aren't in
+ UTF-8 can match
+
# Do nothing types
NOTHING no Match empty string.