diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2015-08-09 16:29:35 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2015-08-09 16:29:35 +0000 |
commit | c5489cdada19f23cb3c25c9a4771447a84dbb556 (patch) | |
tree | f8bda69987e9554194faaa8992daac40e98292b1 /testdata/testinput14 | |
parent | 1e0c21fe7dc6124a8f574c44c0916abc1adc3ddc (diff) | |
download | pcre2-c5489cdada19f23cb3c25c9a4771447a84dbb556.tar.gz |
Re-write recursion handling to fix another compiler bug and make it all less
error-prone.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@338 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'testdata/testinput14')
-rw-r--r-- | testdata/testinput14 | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/testdata/testinput14 b/testdata/testinput14 index 69ca2b6..b4fc203 100644 --- a/testdata/testinput14 +++ b/testdata/testinput14 @@ -108,5 +108,48 @@ /abc(?=abcde)(?=ab)/allusedtext abcabcdefg + +# These tests provoke recursion loops, which give a different error message +# when JIT is used. + +/(?R)/I + abcd + +/(a|(?R))/I + abcd + defg + +/(ab|(bc|(de|(?R))))/I + abcd + fghi + +/(ab|(bc|(de|(?1))))/I + abcd + fghi + +/x(ab|(bc|(de|(?1)x)x)x)/I + xab123 + xfghi + +/(?!\w)(?R)/ + abcd + =abc + +/(?=\w)(?R)/ + =abc + abcd + +/(?<!\w)(?R)/ + abcd + +/(?<=\w)(?R)/ + abcd + +/(a+|(?R)b)/ + aaa + bbb + +/[^\xff]((?1))/BI + abcd # End of testinput14 |