diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2015-06-09 17:45:25 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2015-06-09 17:45:25 +0000 |
commit | 382ca2bb4ffd423aceab05c4b1c1885cd3a48958 (patch) | |
tree | 9c46ab1f059b182997d3bef0f995435837ecad50 /testdata | |
parent | b5c4f0f2bef3a0dff74e4de806b8b5280bb666c0 (diff) | |
download | pcre-382ca2bb4ffd423aceab05c4b1c1885cd3a48958.tar.gz |
Fix group empty match bug.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1566 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'testdata')
-rw-r--r-- | testdata/testinput2 | 2 | ||||
-rw-r--r-- | testdata/testoutput2 | 18 |
2 files changed, 20 insertions, 0 deletions
diff --git a/testdata/testinput2 b/testdata/testinput2 index d70f68d..904660f 100644 --- a/testdata/testinput2 +++ b/testdata/testinput2 @@ -4178,4 +4178,6 @@ backtracking verbs. --/ // \O1 +/^(?:(?(1)x|)+)+$()/BZ + /-- End of testinput2 --/ diff --git a/testdata/testoutput2 b/testdata/testoutput2 index 5013f64..54685fa 100644 --- a/testdata/testoutput2 +++ b/testdata/testoutput2 @@ -14468,4 +14468,22 @@ Failed: number is too big at offset 32 \O1 Matched, but too many substrings +/^(?:(?(1)x|)+)+$()/BZ +------------------------------------------------------------------ + Bra + ^ + SBra + SCond + 1 Cond ref + x + Alt + KetRmax + KetRmax + $ + CBra 1 + Ket + Ket + End +------------------------------------------------------------------ + /-- End of testinput2 --/ |