diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2018-01-31 17:53:56 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2018-01-31 17:53:56 +0000 |
commit | b70b8394e79360f92c87a169c1ba982a7e22d9d6 (patch) | |
tree | 080701ab90dbe375d9739c6cbf66ad60393add7c /testdata/testinput1 | |
parent | e98f42ec8153d9020f2fcc347e11c65b181267a2 (diff) | |
download | pcre2-b70b8394e79360f92c87a169c1ba982a7e22d9d6.tar.gz |
Fix auto-possessification bug at the end of a capturing group that is called
recursively.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@912 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'testdata/testinput1')
-rw-r--r-- | testdata/testinput1 | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/testdata/testinput1 b/testdata/testinput1 index 756b4af..9a9c5fd 100644 --- a/testdata/testinput1 +++ b/testdata/testinput1 @@ -6159,4 +6159,34 @@ ef) x/x,mark /((?<=((*ACCEPT))X)\1?Y(*ACCEPT))\1/ XYYZ +/(?(DEFINE)(?<optional_a>a?)X)^(?&optional_a)a$/ + aa + a + +/^(a?)b(?1)a/ + abaa + aba + baa + ba + +/^(a?)+b(?1)a/ + abaa + aba + baa + ba + +/^(a?)++b(?1)a/ + abaa + aba + baa + ba + +/^(a?)+b/ + b + ab + aaab + +/(?=a+)a(a+)++b/ + aab + # End of testinput1 |