[Pcre-svn] [1304] code/trunk: Add another test, tidy ChangeL…

Page principale
Supprimer ce message
Auteur: Subversion repository
Date:  
À: pcre-svn
Sujet: [Pcre-svn] [1304] code/trunk: Add another test, tidy ChangeLog.
Revision: 1304
          http://www.exim.org/viewvc/pcre2?view=rev&revision=1304
Author:   ph10
Date:     2021-02-19 12:05:57 +0000 (Fri, 19 Feb 2021)
Log Message:
-----------
Add another test, tidy ChangeLog.


Modified Paths:
--------------
    code/trunk/ChangeLog
    code/trunk/testdata/testinput1
    code/trunk/testdata/testoutput1


Modified: code/trunk/ChangeLog
===================================================================
--- code/trunk/ChangeLog    2021-02-19 11:58:36 UTC (rev 1303)
+++ code/trunk/ChangeLog    2021-02-19 12:05:57 UTC (rev 1304)
@@ -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,10 +37,15 @@
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
------------------------------


Modified: code/trunk/testdata/testinput1
===================================================================
--- code/trunk/testdata/testinput1    2021-02-19 11:58:36 UTC (rev 1303)
+++ code/trunk/testdata/testinput1    2021-02-19 12:05:57 UTC (rev 1304)
@@ -6432,4 +6432,7 @@
 /a\K.(?0)*/
     abac


+/(a\K.(?1)*)/
+    abac
+
 # End of testinput1 


Modified: code/trunk/testdata/testoutput1
===================================================================
--- code/trunk/testdata/testoutput1    2021-02-19 11:58:36 UTC (rev 1303)
+++ code/trunk/testdata/testoutput1    2021-02-19 12:05:57 UTC (rev 1304)
@@ -10192,4 +10192,9 @@
     abac
  0: c


+/(a\K.(?1)*)/
+    abac
+ 0: c
+ 1: abac
+
 # End of testinput1