diff options
author | Karl Williamson <khw@cpan.org> | 2019-03-17 21:06:10 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-03-18 10:40:15 -0600 |
commit | 2abbd513b87245ddb806e6bc4f59945ecb46dced (patch) | |
tree | 1b530ee7d9511a1ec1c67dbfc79082e740c5ef4f /regexp.h | |
parent | fd1dd2eb05554dea51a1d125b5dfcea0f028a583 (diff) | |
download | perl-2abbd513b87245ddb806e6bc4f59945ecb46dced.tar.gz |
Implement variable length lookbehind in regex patterns
See [perl #132367].
Diffstat (limited to 'regexp.h')
-rw-r--r-- | regexp.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -807,6 +807,9 @@ typedef struct regmatch_state { struct regmatch_state *prev_yes_state; I32 wanted; I32 logical; /* saved copy of 'logical' var */ + U8 count; /* number of beginning positions */ + char *start; + char *end; regnode *me; /* the IFMATCH/SUSPEND/UNLESSM node */ } ifmatch; /* and SUSPEND/UNLESSM */ |