summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-06-05 11:15:51 -0600
committerKarl Williamson <khw@cpan.org>2019-06-25 12:40:06 -0600
commita5bc07423c0a05b955b43bbc4acf868b0b905e31 (patch)
tree7a393bcef8e76530b9eac5633d6f4b4bc38dd6e5
parent3167cd977ff2111c94c27b02b916ed58e14f281f (diff)
downloadperl-a5bc07423c0a05b955b43bbc4acf868b0b905e31.tar.gz
regcomp.sym: Change regnode description
Simplify the description for ANYOFb
-rw-r--r--pod/perldebguts.pod3
-rw-r--r--regcomp.sym2
-rw-r--r--regnodes.h2
3 files changed, 3 insertions, 4 deletions
diff --git a/pod/perldebguts.pod b/pod/perldebguts.pod
index 8430e2759f..9eafdbd26e 100644
--- a/pod/perldebguts.pod
+++ b/pod/perldebguts.pod
@@ -614,8 +614,7 @@ will be lost.
ANYOFH sv 1 Like ANYOF, but only has "High" matches,
none in the bitmap;
ANYOFHb sv 1 Like ANYOFH, but all matches share the same
- first byte, the repurposed flags field
- contains it
+ UTF-8 start byte, given in the flags field
ANYOFM byte 1 Like ANYOF, but matches an invariant byte
as determined by the mask and arg
NANYOFM byte 1 complement of ANYOFM
diff --git a/regcomp.sym b/regcomp.sym
index b702c437a1..e432ae5cd1 100644
--- a/regcomp.sym
+++ b/regcomp.sym
@@ -63,7 +63,7 @@ ANYOFD ANYOF, sv charclass S ; Like ANYOF, but /d is in effect
ANYOFL ANYOF, sv charclass S ; Like ANYOF, but /l is in effect
ANYOFPOSIXL ANYOF, sv charclass_posixl S ; Like ANYOFL, but matches [[:posix:]] classes
ANYOFH ANYOF, sv 1 S ; Like ANYOF, but only has "High" matches, none in the bitmap;
-ANYOFHb ANYOF, sv 1 S ; Like ANYOFH, but all matches share the same first byte, the repurposed flags field contains it
+ANYOFHb ANYOF, sv 1 S ; Like ANYOFH, but all matches share the same UTF-8 start byte, given in the flags field
ANYOFM ANYOFM byte 1 S ; Like ANYOF, but matches an invariant byte as determined by the mask and arg
NANYOFM ANYOFM byte 1 S ; complement of ANYOFM
diff --git a/regnodes.h b/regnodes.h
index add19473a1..487b6c2dee 100644
--- a/regnodes.h
+++ b/regnodes.h
@@ -34,7 +34,7 @@
#define ANYOFL 20 /* 0x14 Like ANYOF, but /l is in effect */
#define ANYOFPOSIXL 21 /* 0x15 Like ANYOFL, but matches [[:posix:]] classes */
#define ANYOFH 22 /* 0x16 Like ANYOF, but only has "High" matches, none in the bitmap; */
-#define ANYOFHb 23 /* 0x17 Like ANYOFH, but all matches share the same first byte, the repurposed flags field contains it */
+#define ANYOFHb 23 /* 0x17 Like ANYOFH, but all matches share the same UTF-8 start byte, given in the flags field */
#define ANYOFM 24 /* 0x18 Like ANYOF, but matches an invariant byte as determined by the mask and arg */
#define NANYOFM 25 /* 0x19 complement of ANYOFM */
#define POSIXD 26 /* 0x1a Some [[:class:]] under /d; the FLAGS field gives which one */