diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2018-01-01 14:12:35 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2018-01-01 14:12:35 +0000 |
commit | 5af1eb2d55bb06fde6084fa3cb6e3219b932ec2b (patch) | |
tree | 93623323ce280de842170ec3e419aa50b925b1ab /testdata/testoutput6 | |
parent | 67a9339c5f98098eaa59b792cd33096cb9e9633d (diff) | |
download | pcre2-5af1eb2d55bb06fde6084fa3cb6e3219b932ec2b.tar.gz |
Fix PCRE2_FIRSTLINE bug when a pattern match starts with the first code unit of
a newline sequence.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@899 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'testdata/testoutput6')
-rw-r--r-- | testdata/testoutput6 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testdata/testoutput6 b/testdata/testoutput6 index 60e8349..998f20b 100644 --- a/testdata/testoutput6 +++ b/testdata/testoutput6 @@ -7753,4 +7753,17 @@ No match .*(?![|H]?.*(?![|H]?););.*(?![|H]?.*(?![|H]?););\x00\x00\x00\x00\x00\x00\x00(?!(?!(?!(?!(?!(?!(?!(?!(?!(?!(?!(?!(?!(?!(?!(?!(?!(?!(?!(?!(?!(?!(?!(?!(?!(?!(?!(?!(?!(?!(?!(?!(?!(?![|);)?.*(![|H]?);)?.*(?![|H]?);)?.*(?![|H]?);)?.*(?![|H]););![|H]?););[|H]?);|H]?);)\x00\x00\x00\x00\x00\x00H]?););?![|H]?);)?.*(?![|H]?););[||H]?);)?.*(?![|H]?););[|H]?);(?![|H]?););![|H]?););[|H]?);|H]?);)?.*(?![|H]?););;[\x00\x00\x00\x00\x00\x00\x00![|H]?););![|H]?););[|H]?);|H]?);)?.*(?![|H]?);); Failed: error -47: match limit exceeded +/\n/firstline + xyz\nabc + 0: \x0a + +/\nabc/firstline + xyz\nabc + 0: \x0aabc + +/\x{0a}abc/firstline,newline=crlf +\= Expect no match + xyz\r\nabc +No match + # End of testinput6 |