summaryrefslogtreecommitdiff
path: root/regexp.h
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2006-06-30 12:07:01 +0000
committerDave Mitchell <davem@fdisolutions.com>2006-06-30 12:07:01 +0000
commitc255a977e711cfcc80bf8505a4ec628313b34ec9 (patch)
treeb92b3db6a9654dcdc371f5bd2d92b740d02b0ebb /regexp.h
parentafe7bfd522a2be7348b047ae7871940d18cda369 (diff)
downloadperl-c255a977e711cfcc80bf8505a4ec628313b34ec9.tar.gz
migrate CURLY/PLUS/STAR branch in regmatch() to new FSM-esque paradigm
p4raw-id: //depot/perl@28455
Diffstat (limited to 'regexp.h')
-rw-r--r--regexp.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/regexp.h b/regexp.h
index 8cff10c49f..8d71752f3a 100644
--- a/regexp.h
+++ b/regexp.h
@@ -269,12 +269,14 @@ typedef struct regmatch_state {
struct {
I32 paren;
- CHECKPOINT lastcp;
+ CHECKPOINT cp;
I32 c1, c2; /* case fold search */
- char *e;
- char *old;
+ char *maxpos; /* highest possible point in string to match */
+ char *oldloc; /* the previous locinput */
int count;
- } plus; /* and CURLYN/CURLY/STAR */
+ int min, max; /* {m,n} */
+ regnode *A, *B; /* the nodes corresponding to /A*B/ */
+ } curly; /* and CURLYN/PLUS/STAR */
struct {
/* this first element must match u.yes */