diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2018-09-03 15:20:40 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2018-09-03 15:20:40 +0000 |
commit | 3fc16f9f8acaaafb47b3276167e74d1ebb73915d (patch) | |
tree | f966bec1582e194fe0d9c996041bad955fc77f46 /testdata/testinput2 | |
parent | c2d378421fedba48cb02b6b3dc4a74d2a24b2dd4 (diff) | |
download | pcre2-3fc16f9f8acaaafb47b3276167e74d1ebb73915d.tar.gz |
Treat empty-string-matching repeated conditionals the same as ordinary ones
when checking for an anchored pattern.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@996 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'testdata/testinput2')
-rw-r--r-- | testdata/testinput2 | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testdata/testinput2 b/testdata/testinput2 index c0f4292..fc94b35 100644 --- a/testdata/testinput2 +++ b/testdata/testinput2 @@ -5474,4 +5474,35 @@ a)"xI /(?(1)^())b/I +/(?(1)^())+b/I,aftertext + abc + +/(?(1)^()|^)+b/I,aftertext + bbc +\= Expect no match + abc + +/(?(1)^()|^)*b/I,aftertext + bbc + abc + xbc + +/(?(1)^())+b/I,aftertext + abc + +/(?(1)^a()|^a)+b/I,aftertext + abc +\= Expect no match + bbc + +/(?(1)^|^(a))+b/I,aftertext + abc +\= Expect no match + bbc + +/(?(1)^a()|^a)*b/I,aftertext + abc + bbc + xbc + # End of testinput2 |