diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2011-09-27 11:03:15 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2011-09-27 11:03:15 +0000 |
commit | d3da3d6eeac7b91ab7f98426a3a523cdb64bf31c (patch) | |
tree | 8830937a7fbb6030d0a0aaf24a67cb52f05744b9 /testdata | |
parent | c119bc032f65e31c1d18aba44a1461886f258686 (diff) | |
download | pcre-d3da3d6eeac7b91ab7f98426a3a523cdb64bf31c.tar.gz |
Fix bug with (*THEN) in a subroutine/recursion.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@713 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'testdata')
-rw-r--r-- | testdata/testinput2 | 3 | ||||
-rw-r--r-- | testdata/testoutput2 | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/testdata/testinput2 b/testdata/testinput2 index ba768ce..d875cf8 100644 --- a/testdata/testinput2 +++ b/testdata/testinput2 @@ -3741,6 +3741,9 @@ with \Y. ---/ /^.*?(a(*THEN)b)c/ aabc + +/^.*? (?1) c (?(DEFINE)(a(*THEN)b))/x + aabc /^.*?(a(*THEN)b|z)c/ aabc diff --git a/testdata/testoutput2 b/testdata/testoutput2 index d4d6979..3c1da1b 100644 --- a/testdata/testoutput2 +++ b/testdata/testoutput2 @@ -11842,6 +11842,10 @@ No match aabc 0: aabc 1: ab + +/^.*? (?1) c (?(DEFINE)(a(*THEN)b))/x + aabc + 0: aabc /^.*?(a(*THEN)b|z)c/ aabc |