summaryrefslogtreecommitdiff
path: root/regnodes.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-09-15 16:08:13 -0600
committerKarl Williamson <khw@cpan.org>2019-09-15 16:14:26 -0600
commit3ace85ea4f1777b7a1f1151aef632e45926bbbae (patch)
tree9f4d9322ab2d9be262ae3f9261437f4aab6f60b3 /regnodes.h
parent8234439d1b57e10c5bbb0b024eeb325ea1a4b50a (diff)
downloadperl-3ace85ea4f1777b7a1f1151aef632e45926bbbae.tar.gz
regcomp.sym: Fix comment
The length of an EXACTish node is the same bits as the FLAGS field in other nodes; it doesn't "precede the length", as previously claimed.
Diffstat (limited to 'regnodes.h')
-rw-r--r--regnodes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/regnodes.h b/regnodes.h
index 211980ddcd..3b93b85aa2 100644
--- a/regnodes.h
+++ b/regnodes.h
@@ -48,7 +48,7 @@
#define NPOSIXA 34 /* 0x22 complement of POSIXA, [[:^class:]] */
#define CLUMP 35 /* 0x23 Match any extended grapheme cluster sequence */
#define BRANCH 36 /* 0x24 Match this alternative, or the next... */
-#define EXACT 37 /* 0x25 Match this string (preceded by length). */
+#define EXACT 37 /* 0x25 Match this string (flags field is the length). */
#define EXACTL 38 /* 0x26 Like EXACT, but /l is in effect (used so locale-related warnings can be checked for). */
#define EXACTF 39 /* 0x27 Match this string using /id rules (w/len); (string not UTF-8, not guaranteed to be folded). */
#define EXACTFL 40 /* 0x28 Match this string using /il rules (w/len); (string not guaranteed to be folded). */