summaryrefslogtreecommitdiff
path: root/regcomp.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-12-23 20:11:22 -0700
committerKarl Williamson <public@khwilliamson.com>2012-01-19 11:58:19 -0700
commitbb9144850c8033592c0187ea712691a97703385e (patch)
tree52c1796d71c7ec32663a02436927ce9d8a05e90f /regcomp.h
parent86d6fcadb912bd04e5bb511a8188871eb12e4274 (diff)
downloadperl-bb9144850c8033592c0187ea712691a97703385e.tar.gz
regex: Fix some tricky fold problems
As described in the comments, this changes the design of handling the Unicode tricky fold characters to not generate a node for each possible sequence but to get them to work within EXACTFish nodes. The previous design(s) all used a node to handle these, which suffers from the downfall that it precludes legitimate matches that would cross the node boundary. The new design is described in the comments.
Diffstat (limited to 'regcomp.h')
-rw-r--r--regcomp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/regcomp.h b/regcomp.h
index 0540c637c0..e1e9fdb22b 100644
--- a/regcomp.h
+++ b/regcomp.h
@@ -494,6 +494,7 @@ struct regnode_charclass_class {
#define REG_SEEN_VERBARG 0x00000080
#define REG_SEEN_CUTGROUP 0x00000100
#define REG_SEEN_RUN_ON_COMMENT 0x00000200
+#define REG_SEEN_EXACTF_SHARP_S 0x00000400
START_EXTERN_C