summaryrefslogtreecommitdiff
path: root/regcomp.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-02-18 22:11:20 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-02-18 22:11:20 +0000
commit3baa4c62cda542368be1e7e1f7af8bd8257c2ff4 (patch)
tree36c534fdd1b4be5046f1c67dcdf0be0722f4dc97 /regcomp.h
parent5da9da9e9f46681684e0c487fd55df8db6f9de67 (diff)
downloadperl-3baa4c62cda542368be1e7e1f7af8bd8257c2ff4.tar.gz
Misapplied regex optimizations when \C is present.
Fixes 20001230.002. What still remains broken is that the submatches that have \C in them get their UTF8 flag on because their parent SV has it on. This will result in malformed UTF8 if a \C happened to match a non-ASCII byte. p4raw-id: //depot/perl@8836
Diffstat (limited to 'regcomp.h')
-rw-r--r--regcomp.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/regcomp.h b/regcomp.h
index 066e31f01d..ee9be39f71 100644
--- a/regcomp.h
+++ b/regcomp.h
@@ -285,10 +285,11 @@ struct regnode_charclass_class {
#define EXTRA_SIZE(guy) ((sizeof(guy)-1)/sizeof(struct regnode))
-#define REG_SEEN_ZERO_LEN 1
-#define REG_SEEN_LOOKBEHIND 2
-#define REG_SEEN_GPOS 4
-#define REG_SEEN_EVAL 8
+#define REG_SEEN_ZERO_LEN 1
+#define REG_SEEN_LOOKBEHIND 2
+#define REG_SEEN_GPOS 4
+#define REG_SEEN_EVAL 8
+#define REG_SEEN_SANY 16
START_EXTERN_C