Revision: 704
http://www.exim.org/viewvc/pcre2?view=rev&revision=704
Author: ph10
Date: 2017-03-24 18:40:15 +0000 (Fri, 24 Mar 2017)
Log Message:
-----------
Move some tests back into test 1 now that JIT has been updated.
Modified Paths:
--------------
code/trunk/testdata/testinput1
code/trunk/testdata/testinput2
code/trunk/testdata/testoutput1
code/trunk/testdata/testoutput2
Modified: code/trunk/testdata/testinput1
===================================================================
--- code/trunk/testdata/testinput1 2017-03-24 18:35:42 UTC (rev 703)
+++ code/trunk/testdata/testinput1 2017-03-24 18:40:15 UTC (rev 704)
@@ -5882,4 +5882,27 @@
Ab
Ac
+/^(.|(.)(?1)\2)$/
+ a
+ aba
+ abcba
+ ababa
+ abcdcba
+
+/^((.)(?1)\2|.?)$/
+ a
+ aba
+ abba
+ abcba
+ ababa
+ abccba
+ abcdcba
+ abcddcba
+
+/^(.)(\1|a(?2))/
+ bab
+
+/^(.|(.)(?1)?\2)$/
+ abcba
+
# End of testinput1
Modified: code/trunk/testdata/testinput2
===================================================================
--- code/trunk/testdata/testinput2 2017-03-24 18:35:42 UTC (rev 703)
+++ code/trunk/testdata/testinput2 2017-03-24 18:40:15 UTC (rev 704)
@@ -4978,32 +4978,6 @@
AZB
AZBDZ
-# These four are temporarily here instead of test 1 while waiting for a JIT
-# update. They require backtracking into recursions.
-
-/^(.|(.)(?1)\2)$/
- a
- aba
- abcba
- ababa
- abcdcba
-
-/^((.)(?1)\2|.?)$/
- a
- aba
- abba
- abcba
- ababa
- abccba
- abcdcba
- abcddcba
-
-/^(.)(\1|a(?2))/
- bab
-
-/^(.|(.)(?1)?\2)$/
- abcba
-
# The first of these, when run by Perl, gives the mark 'aa', which is wrong.
'(?>a(*:aa))b|ac' mark
Modified: code/trunk/testdata/testoutput1
===================================================================
--- code/trunk/testdata/testoutput1 2017-03-24 18:35:42 UTC (rev 703)
+++ code/trunk/testdata/testoutput1 2017-03-24 18:40:15 UTC (rev 704)
@@ -9401,4 +9401,70 @@
Ac
0: c
+/^(.|(.)(?1)\2)$/
+ a
+ 0: a
+ 1: a
+ aba
+ 0: aba
+ 1: aba
+ 2: a
+ abcba
+ 0: abcba
+ 1: abcba
+ 2: a
+ ababa
+ 0: ababa
+ 1: ababa
+ 2: a
+ abcdcba
+ 0: abcdcba
+ 1: abcdcba
+ 2: a
+
+/^((.)(?1)\2|.?)$/
+ a
+ 0: a
+ 1: a
+ aba
+ 0: aba
+ 1: aba
+ 2: a
+ abba
+ 0: abba
+ 1: abba
+ 2: a
+ abcba
+ 0: abcba
+ 1: abcba
+ 2: a
+ ababa
+ 0: ababa
+ 1: ababa
+ 2: a
+ abccba
+ 0: abccba
+ 1: abccba
+ 2: a
+ abcdcba
+ 0: abcdcba
+ 1: abcdcba
+ 2: a
+ abcddcba
+ 0: abcddcba
+ 1: abcddcba
+ 2: a
+
+/^(.)(\1|a(?2))/
+ bab
+ 0: bab
+ 1: b
+ 2: ab
+
+/^(.|(.)(?1)?\2)$/
+ abcba
+ 0: abcba
+ 1: abcba
+ 2: a
+
# End of testinput1
Modified: code/trunk/testdata/testoutput2
===================================================================
--- code/trunk/testdata/testoutput2 2017-03-24 18:35:42 UTC (rev 703)
+++ code/trunk/testdata/testoutput2 2017-03-24 18:40:15 UTC (rev 704)
@@ -15482,75 +15482,6 @@
1: B
2: Z
-# These four are temporarily here instead of test 1 while waiting for a JIT
-# update. They require backtracking into recursions.
-
-/^(.|(.)(?1)\2)$/
- a
- 0: a
- 1: a
- aba
- 0: aba
- 1: aba
- 2: a
- abcba
- 0: abcba
- 1: abcba
- 2: a
- ababa
- 0: ababa
- 1: ababa
- 2: a
- abcdcba
- 0: abcdcba
- 1: abcdcba
- 2: a
-
-/^((.)(?1)\2|.?)$/
- a
- 0: a
- 1: a
- aba
- 0: aba
- 1: aba
- 2: a
- abba
- 0: abba
- 1: abba
- 2: a
- abcba
- 0: abcba
- 1: abcba
- 2: a
- ababa
- 0: ababa
- 1: ababa
- 2: a
- abccba
- 0: abccba
- 1: abccba
- 2: a
- abcdcba
- 0: abcdcba
- 1: abcdcba
- 2: a
- abcddcba
- 0: abcddcba
- 1: abcddcba
- 2: a
-
-/^(.)(\1|a(?2))/
- bab
- 0: bab
- 1: b
- 2: ab
-
-/^(.|(.)(?1)?\2)$/
- abcba
- 0: abcba
- 1: abcba
- 2: a
-
# The first of these, when run by Perl, gives the mark 'aa', which is wrong.
'(?>a(*:aa))b|ac' mark