summaryrefslogtreecommitdiff
path: root/regcomp.h
diff options
context:
space:
mode:
authorDaniel P. Berrange <dan@berrange.com>2001-08-03 12:39:33 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2001-08-04 17:28:55 +0000
commitf33976b4825a1f900bb28e78ad0509286ad2ffe5 (patch)
tree58019b92ac58588a5e773e4361cffd43ab20167b /regcomp.h
parent577e12cc4ababd31ea5d99718f699d57deab1b2c (diff)
downloadperl-f33976b4825a1f900bb28e78ad0509286ad2ffe5.tar.gz
Decouple SANY into SANY and CANY: the new SANY is /./s,
the new CANY is the \C. The problem reported and the test case supplied in Subject: UTF-8 bugs in string length & single line regex matches Message-ID: <20010803113932.A19318@berrange.com> p4raw-id: //depot/perl@11575
Diffstat (limited to 'regcomp.h')
-rw-r--r--regcomp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/regcomp.h b/regcomp.h
index 8b6e4a9d5d..b00edf03cf 100644
--- a/regcomp.h
+++ b/regcomp.h
@@ -310,6 +310,7 @@ struct regnode_charclass_class { /* has [[:blah:]] classes */
#define REG_SEEN_GPOS 4
#define REG_SEEN_EVAL 8
#define REG_SEEN_SANY 16
+#define REG_SEEN_CANY 32
START_EXTERN_C
@@ -331,7 +332,7 @@ EXTCONST U8 PL_varies[] = {
EXTCONST U8 PL_simple[];
#else
EXTCONST U8 PL_simple[] = {
- REG_ANY, SANY,
+ REG_ANY, SANY, CANY,
ANYOF,
ALNUM, ALNUML,
NALNUM, NALNUML,