summaryrefslogtreecommitdiff
path: root/regcomp.sym
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 /regcomp.sym
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 'regcomp.sym')
-rw-r--r--regcomp.sym2
1 files changed, 1 insertions, 1 deletions
diff --git a/regcomp.sym b/regcomp.sym
index 522293c9c2..c69e4c9452 100644
--- a/regcomp.sym
+++ b/regcomp.sym
@@ -101,7 +101,7 @@ BRANCH BRANCH, node 0 V ; Match this alternative, or the next...
#*Literals
# NOTE: the relative ordering of these types is important do not change it
-EXACT EXACT, str ; Match this string (preceded by length).
+EXACT EXACT, str ; Match this string (flags field is the length).
EXACTL EXACT, str ; Like EXACT, but /l is in effect (used so locale-related warnings can be checked for).
EXACTF EXACT, str ; Match this string using /id rules (w/len); (string not UTF-8, not guaranteed to be folded).
EXACTFL EXACT, str ; Match this string using /il rules (w/len); (string not guaranteed to be folded).