Revision: 1115
http://www.exim.org/viewvc/pcre2?view=rev&revision=1115
Author: ph10
Date: 2019-06-20 17:37:30 +0100 (Thu, 20 Jun 2019)
Log Message:
-----------
Typo in doc and update tests
Modified Paths:
--------------
code/trunk/doc/html/pcre2test.html
code/trunk/doc/pcre2test.1
code/trunk/doc/pcre2test.txt
code/trunk/testdata/testinput1
code/trunk/testdata/testoutput1
Modified: code/trunk/doc/html/pcre2test.html
===================================================================
--- code/trunk/doc/html/pcre2test.html 2019-06-20 16:28:57 UTC (rev 1114)
+++ code/trunk/doc/html/pcre2test.html 2019-06-20 16:37:30 UTC (rev 1115)
@@ -1782,7 +1782,7 @@
<b>dfa_restart</b> modifier. For example:
<pre>
re> /^\d?\d(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)\d\d$/
- data> 23ja\=P,dfa
+ data> 23ja\=ps,dfa
Partial match: 23ja
data> n05\=dfa,dfa_restart
0: n05
@@ -2081,7 +2081,7 @@
</P>
<br><a name="SEC21" href="#TOC1">REVISION</a><br>
<P>
-Last updated: 11 June 2019
+Last updated: 20 June 2019
<br>
Copyright © 1997-2019 University of Cambridge.
<br>
Modified: code/trunk/doc/pcre2test.1
===================================================================
--- code/trunk/doc/pcre2test.1 2019-06-20 16:28:57 UTC (rev 1114)
+++ code/trunk/doc/pcre2test.1 2019-06-20 16:37:30 UTC (rev 1115)
@@ -1,4 +1,4 @@
-.TH PCRE2TEST 1 "11 June 2019" "PCRE 10.34"
+.TH PCRE2TEST 1 "20 June 2019" "PCRE 10.34"
.SH NAME
pcre2test - a program for testing Perl-compatible regular expressions.
.SH SYNOPSIS
@@ -1748,7 +1748,7 @@
\fBdfa_restart\fP modifier. For example:
.sp
re> /^\ed?\ed(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)\ed\ed$/
- data> 23ja\e=P,dfa
+ data> 23ja\e=ps,dfa
Partial match: 23ja
data> n05\e=dfa,dfa_restart
0: n05
@@ -2062,6 +2062,6 @@
.rs
.sp
.nf
-Last updated: 11 June 2019
+Last updated: 20 June 2019
Copyright (c) 1997-2019 University of Cambridge.
.fi
Modified: code/trunk/doc/pcre2test.txt
===================================================================
--- code/trunk/doc/pcre2test.txt 2019-06-20 16:28:57 UTC (rev 1114)
+++ code/trunk/doc/pcre2test.txt 2019-06-20 16:37:30 UTC (rev 1115)
@@ -1612,7 +1612,7 @@
dfa_restart modifier. For example:
re> /^\d?\d(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)\d\d$/
- data> 23ja\=P,dfa
+ data> 23ja\=ps,dfa
Partial match: 23ja
data> n05\=dfa,dfa_restart
0: n05
@@ -1893,5 +1893,5 @@
REVISION
- Last updated: 11 June 2019
+ Last updated: 20 June 2019
Copyright (c) 1997-2019 University of Cambridge.
Modified: code/trunk/testdata/testinput1
===================================================================
--- code/trunk/testdata/testinput1 2019-06-20 16:28:57 UTC (rev 1114)
+++ code/trunk/testdata/testinput1 2019-06-20 16:37:30 UTC (rev 1115)
@@ -6365,4 +6365,16 @@
/(?(DEFINE)(a|ab))(?1){1}+c/
abc
+/(?:a|(?=b)|.)*\z/
+ abc
+
+/(?:a|(?=b)|.)*/
+ abc
+
+/(?<=a(*SKIP)x)|c/
+ abcd
+
+/(?<=a(*SKIP)x)|d/
+ abcd
+
# End of testinput1
Modified: code/trunk/testdata/testoutput1
===================================================================
--- code/trunk/testdata/testoutput1 2019-06-20 16:28:57 UTC (rev 1114)
+++ code/trunk/testdata/testoutput1 2019-06-20 16:37:30 UTC (rev 1115)
@@ -10081,4 +10081,20 @@
abc
No match
+/(?:a|(?=b)|.)*\z/
+ abc
+ 0: abc
+
+/(?:a|(?=b)|.)*/
+ abc
+ 0: a
+
+/(?<=a(*SKIP)x)|c/
+ abcd
+No match
+
+/(?<=a(*SKIP)x)|d/
+ abcd
+ 0: d
+
# End of testinput1