Add another test, tidy ChangeLog.

This commit is contained in:
Philip.Hazel 2021-02-19 12:05:57 +00:00
parent 0dd0283b17
commit 8c1df186ab
3 changed files with 16 additions and 9 deletions

View File

@ -1,14 +1,8 @@
Change Log for PCRE2 Change Log for PCRE2
-------------------- --------------------
Version 10.38
-------------
1. Restore single character repetition optimization in JIT. Version 10.37-RC1 xx-xxxx-2021
Currently fewer character repetitions are optimized than in 10.34.
Version 10.37-RC1 04-January-2021
--------------------------------- ---------------------------------
1. Change RunGrepTest to use tr instead of sed when testing with binary 1. Change RunGrepTest to use tr instead of sed when testing with binary
@ -44,7 +38,12 @@ robots. It doesn't seem to be necessary: trying a reduction to 2.60.
6. The pattern /a\K.(?0)*/ when matched against "abac" by the interpreter gave 6. The pattern /a\K.(?0)*/ when matched against "abac" by the interpreter gave
the answer "bac", whereas Perl and JIT both yield "c". This was because the the answer "bac", whereas Perl and JIT both yield "c". This was because the
effect of \K was not propagating back from the recursion. This is now fixed. effect of \K was not propagating back from the full pattern recursion. Other
recursions such as /(a\K.(?1)*)/ did not have this problem.
7. Restore single character repetition optimization in JIT. Currently fewer
character repetitions are optimized than in 10.34.
Version 10.36 04-December-2020 Version 10.36 04-December-2020

3
testdata/testinput1 vendored
View File

@ -6432,4 +6432,7 @@ ef) x/x,mark
/a\K.(?0)*/ /a\K.(?0)*/
abac abac
/(a\K.(?1)*)/
abac
# End of testinput1 # End of testinput1

View File

@ -10192,4 +10192,9 @@ No match
abac abac
0: c 0: c
/(a\K.(?1)*)/
abac
0: c
1: abac
# End of testinput1 # End of testinput1