diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2019-07-15 16:04:13 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2019-07-15 16:04:13 +0000 |
commit | d1660843257dcb1b23c171681da6c5f44ab6d93e (patch) | |
tree | 4dfe4d476621cea93b8f05c027f6e84ee80e5d0a /testdata | |
parent | 37af65e2349505d980bfa5570e2aa549eb8b0836 (diff) | |
download | pcre2-d1660843257dcb1b23c171681da6c5f44ab6d93e.tar.gz |
Fix oversights in recent non-atomic assertions patch. Fixes ClusterFuzz 15837.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1132 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'testdata')
-rw-r--r-- | testdata/testinput2 | 8 | ||||
-rw-r--r-- | testdata/testoutput2 | 18 |
2 files changed, 26 insertions, 0 deletions
diff --git a/testdata/testinput2 b/testdata/testinput2 index a6c11dd..c7aaedd 100644 --- a/testdata/testinput2 +++ b/testdata/testinput2 @@ -5680,6 +5680,14 @@ a)"xI /(*napla:ab+)/B +/(*napla:)+/ + +/(*naplb:)+/ + +/(*napla:^x|^y)/I + +/(*napla:abc|abd)/I + # ---- # End of testinput2 diff --git a/testdata/testoutput2 b/testdata/testoutput2 index 32be71d..6642d7a 100644 --- a/testdata/testoutput2 +++ b/testdata/testoutput2 @@ -17165,6 +17165,24 @@ No match End ------------------------------------------------------------------ +/(*napla:)+/ + +/(*naplb:)+/ + +/(*napla:^x|^y)/I +Capture group count = 0 +May match empty string +Compile options: <none> +Overall options: anchored +Starting code units: x y +Subject length lower bound = 0 + +/(*napla:abc|abd)/I +Capture group count = 0 +May match empty string +First code unit = 'a' +Subject length lower bound = 1 + # ---- # End of testinput2 |