From a34d0f2752c21b53829bfd21adf0c8986ea1805b Mon Sep 17 00:00:00 2001 From: ph10 Date: Fri, 19 Feb 2021 12:05:57 +0000 Subject: Add another test, tidy ChangeLog. git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1304 6239d852-aaf2-0410-a92c-79f79f948069 --- ChangeLog | 17 ++++++++--------- testdata/testinput1 | 3 +++ testdata/testoutput1 | 5 +++++ 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index f71c1ea..5d64b35 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,14 +1,8 @@ Change Log for PCRE2 -------------------- -Version 10.38 -------------- -1. Restore single character repetition optimization in JIT. -Currently fewer character repetitions are optimized than in 10.34. - - -Version 10.37-RC1 04-January-2021 +Version 10.37-RC1 xx-xxxx-2021 --------------------------------- 1. Change RunGrepTest to use tr instead of sed when testing with binary @@ -43,8 +37,13 @@ is broken. Later: the requirement for autoconf 2.70 broke some automatic test 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 -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. +the answer "bac", whereas Perl and JIT both yield "c". This was because the +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 diff --git a/testdata/testinput1 b/testdata/testinput1 index 4cf1126..93b21c1 100644 --- a/testdata/testinput1 +++ b/testdata/testinput1 @@ -6432,4 +6432,7 @@ ef) x/x,mark /a\K.(?0)*/ abac +/(a\K.(?1)*)/ + abac + # End of testinput1 diff --git a/testdata/testoutput1 b/testdata/testoutput1 index 8d4c108..5b1686c 100644 --- a/testdata/testoutput1 +++ b/testdata/testoutput1 @@ -10192,4 +10192,9 @@ No match abac 0: c +/(a\K.(?1)*)/ + abac + 0: c + 1: abac + # End of testinput1 -- cgit v1.2.1