diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2019-06-16 15:37:45 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2019-06-16 15:37:45 +0000 |
commit | 508eef833c4a634d331e0d54e505fd18a300de6a (patch) | |
tree | 3a242975ba7be5b2d801f16b3363ce085a55b319 /testdata/testoutput2 | |
parent | 39d365eaf01567a33d4e99aabf0d48d02f2ea39e (diff) | |
download | pcre2-508eef833c4a634d331e0d54e505fd18a300de6a.tar.gz |
Improve minimum length finder in the presence of back references when there are
multiple groups with the same number.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1107 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'testdata/testoutput2')
-rw-r--r-- | testdata/testoutput2 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testdata/testoutput2 b/testdata/testoutput2 index 74e10a5..9c1dc50 100644 --- a/testdata/testoutput2 +++ b/testdata/testoutput2 @@ -14607,7 +14607,7 @@ Subject length lower bound = 65535 Capture group count = 1 Max back reference = 1 Starting code units: a b -Subject length lower bound = 0 +Subject length lower bound = 1 /(?|(aaa)|(b))(?1)/I Capture group count = 1 @@ -14625,7 +14625,7 @@ Max back reference = 1 Named capture groups: a 1 Starting code units: a b -Subject length lower bound = 0 +Subject length lower bound = 1 /(?|(?'a'aaa)|(?'a'b))(?'a'cccc)\k'a'/I,dupnames Capture group count = 2 @@ -14636,7 +14636,7 @@ Named capture groups: Options: dupnames Starting code units: a b Last code unit = 'c' -Subject length lower bound = 1 +Subject length lower bound = 5 /ab{3cd/ ab{3cd |