diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2011-07-28 18:59:40 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2011-07-28 18:59:40 +0000 |
commit | 5eb8d51bae2ddf98313629134e88a389fe319605 (patch) | |
tree | 0d30190424c6c64c165f3c0d8de9277ac03e2e70 /testdata/testinput11 | |
parent | 7c4c354abaae9c3d29cb7cd47be7bcdee4078bbe (diff) | |
download | pcre-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/testinput11 | 12 |
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 --/ |