diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2019-06-28 16:58:08 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2019-06-28 16:58:08 +0000 |
commit | 3b4bd85d3c35270453a27275b29587b436078368 (patch) | |
tree | dfb1554bce4b9a22ddd5b100cbac0472f14c6402 /testdata/testoutput15 | |
parent | 427e9b2fffc46d6b49a31df34c8b120bffc2ea60 (diff) | |
download | pcre2-3b4bd85d3c35270453a27275b29587b436078368.tar.gz |
Fix bugs in recent patch for setting the maximum lookbehind.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1124 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'testdata/testoutput15')
-rw-r--r-- | testdata/testoutput15 | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/testdata/testoutput15 b/testdata/testoutput15 index 6a130dc..c51cda7 100644 --- a/testdata/testoutput15 +++ b/testdata/testoutput15 @@ -335,6 +335,41 @@ Partial match: abcd Partial match: abcd << +/(?<=(?<=(?<=a)b)c)./I +Capture group count = 0 +Max lookbehind = 3 +Subject length lower bound = 1 + 123abcXYZ + 0: abcX + <<< + +/(?<=ab(cd(?<=...)))./I +Capture group count = 1 +Max lookbehind = 4 +Subject length lower bound = 1 + abcdX + 0: abcdX + <<<< + 1: cd + +/(?<=ab((?<=...)cd))./I +Capture group count = 1 +Max lookbehind = 5 +Subject length lower bound = 1 + ZabcdX + 0: ZabcdX + <<<<< + 1: cd + +/(?<=((?<=(?<=ab).))(?1)(?1))./I +Capture group count = 1 +Max lookbehind = 3 +Subject length lower bound = 1 + abxZ + 0: abxZ + <<< + 1: + #subject # ------------------------------------------------------------------- |