diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2015-12-08 11:06:40 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2015-12-08 11:06:40 +0000 |
commit | 4f47274a2eb10131d88145ad7fd0eed4027a0c51 (patch) | |
tree | 8b09852db2ab19a579902db89e4a7ee3bab8fc66 /testdata | |
parent | 40363ebc19baeab160abaaa55dc84322a89ac35a (diff) | |
download | pcre-4f47274a2eb10131d88145ad7fd0eed4027a0c51.tar.gz |
Fix get_substring_list() bug when \K is used in an assertion.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1620 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'testdata')
-rw-r--r-- | testdata/testinput2 | 3 | ||||
-rw-r--r-- | testdata/testoutput2 | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/testdata/testinput2 b/testdata/testinput2 index 00ffe32..967a241 100644 --- a/testdata/testinput2 +++ b/testdata/testinput2 @@ -4232,4 +4232,7 @@ backtracking verbs. --/ /(?<A>)(?J:(?<B>)(?<B>))(?<C>)/ \O\CC +/(?=a\K)/ + ring bpattingbobnd $ 1,oern cou \rb\L + /-- End of testinput2 --/ diff --git a/testdata/testoutput2 b/testdata/testoutput2 index ffb4466..5fb28d5 100644 --- a/testdata/testoutput2 +++ b/testdata/testoutput2 @@ -14644,4 +14644,10 @@ No match Matched, but too many substrings copy substring C failed -7 +/(?=a\K)/ + ring bpattingbobnd $ 1,oern cou \rb\L +Start of matched string is beyond its end - displaying from end to start. + 0: a + 0L + /-- End of testinput2 --/ |