diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2015-07-17 15:15:18 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2015-07-17 15:15:18 +0000 |
commit | 14f400887deb587c8c36cb1bfa098840920f6944 (patch) | |
tree | 91c202b4b77c66792d3d0aac73abb06dab936787 /testdata | |
parent | d9ca2e7ce39245e928790396e619e5c56a0dc8c1 (diff) | |
download | pcre-14f400887deb587c8c36cb1bfa098840920f6944.tar.gz |
Fix bad compile of possessively repeated conditional group that could match an
empty string.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1576 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'testdata')
-rw-r--r-- | testdata/testinput2 | 2 | ||||
-rw-r--r-- | testdata/testoutput2 | 13 |
2 files changed, 15 insertions, 0 deletions
diff --git a/testdata/testinput2 b/testdata/testinput2 index f8fd249..d206f44 100644 --- a/testdata/testinput2 +++ b/testdata/testinput2 @@ -4182,4 +4182,6 @@ backtracking verbs. --/ /(?=di(?<=(?1))|(?=(.))))/ +/(?(R))*+/BZ + /-- End of testinput2 --/ diff --git a/testdata/testoutput2 b/testdata/testoutput2 index c39d5e6..da81e10 100644 --- a/testdata/testoutput2 +++ b/testdata/testoutput2 @@ -14489,4 +14489,17 @@ Matched, but too many substrings /(?=di(?<=(?1))|(?=(.))))/ Failed: unmatched parentheses at offset 23 +/(?(R))*+/BZ +------------------------------------------------------------------ + Bra + Braposzero + SBraPos + SCond + Cond recurse any + Ket + KetRpos + Ket + End +------------------------------------------------------------------ + /-- End of testinput2 --/ |