summaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2015-02-08 17:02:05 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2015-02-08 17:02:05 +0000
commit39cae36af8f12dc6765f6c0a6395356c7cd2921e (patch)
treef52d867969160a98b27e33787b2ca471cf04876a /testdata
parent46465068f53358d3ae6cca4d9db8d1ed3b9f1928 (diff)
downloadpcre-39cae36af8f12dc6765f6c0a6395356c7cd2921e.tar.gz
Fix crash when mutual recursion such as (\2)(\1) is studied.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1522 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'testdata')
-rw-r--r--testdata/testinput12
-rw-r--r--testdata/testoutput12
2 files changed, 4 insertions, 0 deletions
diff --git a/testdata/testinput1 b/testdata/testinput1
index 091e307..da96dd2 100644
--- a/testdata/testinput1
+++ b/testdata/testinput1
@@ -5723,4 +5723,6 @@ AbcdCBefgBhiBqz
/(?:((abcd))|(((?:(?:(?:(?:abc|(?:abcdef))))b)abcdefghi)abc)|((*ACCEPT)))/
1234abcd
+/(\2)(\1)/
+
/-- End of testinput1 --/
diff --git a/testdata/testoutput1 b/testdata/testoutput1
index ba7ca37..61f14a4 100644
--- a/testdata/testoutput1
+++ b/testdata/testoutput1
@@ -9420,4 +9420,6 @@ No match
4: <unset>
5:
+/(\2)(\1)/
+
/-- End of testinput1 --/