summaryrefslogtreecommitdiff
path: root/regcomp.sym
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2018-09-20 11:15:00 -0600
committerKarl Williamson <khw@cpan.org>2018-10-20 00:09:54 -0600
commit46fc0c4304793e740ce6eefd1561a6bb9cb9a6c8 (patch)
tree0cf8e5fc43b2642314cc491188b61af6d0fa7d41 /regcomp.sym
parentea461dd624d982da3d7216fd18fd3caca818c2bb (diff)
downloadperl-46fc0c4304793e740ce6eefd1561a6bb9cb9a6c8.tar.gz
regcomp.sym: Add lengths for ANYOF nodes
This changes regcomp.sym to generate the correct lengths for ANYOF nodes, which means they don't have to be special cased in regcomp.c, leading to simplification
Diffstat (limited to 'regcomp.sym')
-rw-r--r--regcomp.sym8
1 files changed, 4 insertions, 4 deletions
diff --git a/regcomp.sym b/regcomp.sym
index 604163bcd8..f275c7b6c8 100644
--- a/regcomp.sym
+++ b/regcomp.sym
@@ -56,10 +56,10 @@ NBOUNDA NBOUND, no ; Match "" betweeen any \w\w or \W\W, where \w
#* [Special] alternatives:
REG_ANY REG_ANY, no 0 S ; Match any one character (except newline).
SANY REG_ANY, no 0 S ; Match any one character.
-ANYOF ANYOF, sv 1 S ; Match character in (or not in) this class, single char match only
-ANYOFD ANYOF, sv 1 S ; Like ANYOF, but /d is in effect
-ANYOFL ANYOF, sv 1 S ; Like ANYOF, but /l is in effect
-ANYOFPOSIXL ANYOF, sv 1 S ; Like ANYOFL, but matches [[:posix:]] classes
+ANYOF ANYOF, sv charclass S ; Match character in (or not in) this class, single char match only
+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
ANYOFM ANYOFM byte 1 S ; Like ANYOF, but matches an invariant byte as determined by the mask and arg
#* POSIX Character Classes: