diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2015-03-29 15:44:40 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2015-03-29 15:44:40 +0000 |
commit | f2f972a69aac98b34316d2e944d55f9ef2ca6712 (patch) | |
tree | 3f36d4a2ad7135645ca109cc1bec075246585511 /testdata | |
parent | 0bff93ec6f942ad9703a33416c3ca2ddc060de73 (diff) | |
download | pcre-f2f972a69aac98b34316d2e944d55f9ef2ca6712.tar.gz |
Fix non-diagnosis of missing assertion after (?(?< not followed by ! or =.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1539 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'testdata')
-rw-r--r-- | testdata/testinput2 | 2 | ||||
-rw-r--r-- | testdata/testoutput2 | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/testdata/testinput2 b/testdata/testinput2 index 40593e3..0e29c7a 100644 --- a/testdata/testinput2 +++ b/testdata/testinput2 @@ -4136,4 +4136,6 @@ backtracking verbs. --/ "((?2)+)((?1))" +"(?(?<E>.*!.*)?)" + /-- End of testinput2 --/ diff --git a/testdata/testoutput2 b/testdata/testoutput2 index 28937c8..f3b2dc4 100644 --- a/testdata/testoutput2 +++ b/testdata/testoutput2 @@ -561,7 +561,7 @@ Failed: assertion expected after (?( at offset 3 Failed: reference to non-existent subpattern at offset 7 /(?(?<ab))/ -Failed: syntax error in subpattern name (missing terminator) at offset 7 +Failed: assertion expected after (?( at offset 3 /((?s)blah)\s+\1/I Capturing subpattern count = 1 @@ -14345,4 +14345,7 @@ No match "((?2)+)((?1))" +"(?(?<E>.*!.*)?)" +Failed: assertion expected after (?( at offset 3 + /-- End of testinput2 --/ |