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 /regnodes.h | |
parent | fd1dd2eb05554dea51a1d125b5dfcea0f028a583 (diff) | |
download | perl-2abbd513b87245ddb806e6bc4f59945ecb46dced.tar.gz |
Implement variable length lookbehind in regex patterns
See [perl #132367].
Diffstat (limited to 'regnodes.h')
-rw-r--r-- | regnodes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regnodes.h b/regnodes.h index 3b53c1715f..803938ac48 100644 --- a/regnodes.h +++ b/regnodes.h @@ -83,8 +83,8 @@ #define NREFFA 69 /* 0x45 Match already matched string, using /aai rules. */ #define LONGJMP 70 /* 0x46 Jump far away. */ #define BRANCHJ 71 /* 0x47 BRANCH with long offset. */ -#define IFMATCH 72 /* 0x48 Succeeds if the following matches; non-zero flags "f" means lookbehind assertion starting "f" characters before current */ -#define UNLESSM 73 /* 0x49 Fails if the following matches; non-zero flags "f" means lookbehind assertion starting "f" characters before current */ +#define IFMATCH 72 /* 0x48 Succeeds if the following matches; non-zero flags "f", next_off "o" means lookbehind assertion starting "f..(f-o)" characters before current */ +#define UNLESSM 73 /* 0x49 Fails if the following matches; non-zero flags "f", next_off "o" means lookbehind assertion starting "f..(f-o)" characters before current */ #define SUSPEND 74 /* 0x4a "Independent" sub-RE. */ #define IFTHEN 75 /* 0x4b Switch, should be preceded by switcher. */ #define GROUPP 76 /* 0x4c Whether the group matched. */ |