diff options
author | Dave Mitchell <davem@fdisolutions.com> | 2006-06-30 12:07:01 +0000 |
---|---|---|
committer | Dave Mitchell <davem@fdisolutions.com> | 2006-06-30 12:07:01 +0000 |
commit | c255a977e711cfcc80bf8505a4ec628313b34ec9 (patch) | |
tree | b92b3db6a9654dcdc371f5bd2d92b740d02b0ebb /regexp.h | |
parent | afe7bfd522a2be7348b047ae7871940d18cda369 (diff) | |
download | perl-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.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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 */ |