diff options
author | Daniel P. Berrange <dan@berrange.com> | 2001-08-03 12:39:33 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-08-04 17:28:55 +0000 |
commit | f33976b4825a1f900bb28e78ad0509286ad2ffe5 (patch) | |
tree | 58019b92ac58588a5e773e4361cffd43ab20167b /regcomp.h | |
parent | 577e12cc4ababd31ea5d99718f699d57deab1b2c (diff) | |
download | perl-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.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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, |