diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2015-05-07 16:31:58 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2015-05-07 16:31:58 +0000 |
commit | a7776283693e2fd9034c5dc64edb2dedf2f7b4c6 (patch) | |
tree | be3a45ea2b8c09b87ededb6d86ea09f6961685fb /testdata | |
parent | 09f4a2ca22cbfbd3446c688ddda503bac918817f (diff) | |
download | pcre-a7776283693e2fd9034c5dc64edb2dedf2f7b4c6.tar.gz |
Fix forward referencing bugs.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1556 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'testdata')
-rw-r--r-- | testdata/testinput2 | 6 | ||||
-rw-r--r-- | testdata/testoutput2 | 8 |
2 files changed, 14 insertions, 0 deletions
diff --git a/testdata/testinput2 b/testdata/testinput2 index 949bbb9..1785b17 100644 --- a/testdata/testinput2 +++ b/testdata/testinput2 @@ -4154,4 +4154,10 @@ backtracking verbs. --/ /.((?2)(?R)\1)()/BZ +/(?1)()((((((\1++))\x85)+)|))/ + +/(\9*+(?2);\3++()2|)++{/ + +/\V\x85\9*+((?2)\3++()2)*:2/ + /-- End of testinput2 --/ diff --git a/testdata/testoutput2 b/testdata/testoutput2 index af4aec5..821c0ce 100644 --- a/testdata/testoutput2 +++ b/testdata/testoutput2 @@ -14440,4 +14440,12 @@ Failed: lookbehind assertion is not fixed length at offset 17 End ------------------------------------------------------------------ +/(?1)()((((((\1++))\x85)+)|))/ + +/(\9*+(?2);\3++()2|)++{/ +Failed: reference to non-existent subpattern at offset 22 + +/\V\x85\9*+((?2)\3++()2)*:2/ +Failed: reference to non-existent subpattern at offset 26 + /-- End of testinput2 --/ |