summaryrefslogtreecommitdiff
path: root/testdata/testinput11
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2011-07-28 18:59:40 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2011-07-28 18:59:40 +0000
commit5eb8d51bae2ddf98313629134e88a389fe319605 (patch)
tree0d30190424c6c64c165f3c0d8de9277ac03e2e70 /testdata/testinput11
parent7c4c354abaae9c3d29cb7cd47be7bcdee4078bbe (diff)
downloadpcre-5eb8d51bae2ddf98313629134e88a389fe319605.tar.gz
Avoid false positive for infinite recursion by not checking conditionals at
compile time, but add tests at runtime that also catch infinite mutual recursion. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@642 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'testdata/testinput11')
-rw-r--r--testdata/testinput1112
1 files changed, 12 insertions, 0 deletions
diff --git a/testdata/testinput11 b/testdata/testinput11
index 96cf6e4..12a36f6 100644
--- a/testdata/testinput11
+++ b/testdata/testinput11
@@ -654,4 +654,16 @@ however, we need the complication for Perl. ---/
/^\N{1,}/
abc\ndef
+/(?(R)a+|(?R)b)/
+ aaaabcde
+
+/(?(R)a+|((?R))b)/
+ aaaabcde
+
+/((?(R)a+|(?1)b))/
+ aaaabcde
+
+/((?(R1)a+|(?1)b))/
+ aaaabcde
+
/-- End of testinput11 --/