summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog17
-rw-r--r--testdata/testinput13
-rw-r--r--testdata/testoutput15
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