diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2019-06-20 16:37:30 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2019-06-20 16:37:30 +0000 |
commit | 2ada8ef2fec4683de1c1d56b23b6ed7bf6c98204 (patch) | |
tree | 885d7d24fd7d559bd3573cc510f32a86065a6b91 | |
parent | 828b993f614a6f7d5cab4096e2e508a93388976b (diff) | |
download | pcre2-2ada8ef2fec4683de1c1d56b23b6ed7bf6c98204.tar.gz |
Typo in doc and update tests
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1115 6239d852-aaf2-0410-a92c-79f79f948069
-rw-r--r-- | doc/html/pcre2test.html | 4 | ||||
-rw-r--r-- | doc/pcre2test.1 | 6 | ||||
-rw-r--r-- | doc/pcre2test.txt | 4 | ||||
-rw-r--r-- | testdata/testinput1 | 12 | ||||
-rw-r--r-- | testdata/testoutput1 | 16 |
5 files changed, 35 insertions, 7 deletions
diff --git a/doc/html/pcre2test.html b/doc/html/pcre2test.html index 986bb07..0adae4c 100644 --- a/doc/html/pcre2test.html +++ b/doc/html/pcre2test.html @@ -1782,7 +1782,7 @@ restart the match with additional subject data by means of the <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 @@ Cambridge, England. </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> diff --git a/doc/pcre2test.1 b/doc/pcre2test.1 index 7b87210..104a099 100644 --- a/doc/pcre2test.1 +++ b/doc/pcre2test.1 @@ -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 @@ restart the match with additional subject data by means of the \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 @@ Cambridge, England. .rs .sp .nf -Last updated: 11 June 2019 +Last updated: 20 June 2019 Copyright (c) 1997-2019 University of Cambridge. .fi diff --git a/doc/pcre2test.txt b/doc/pcre2test.txt index 5f77503..282a947 100644 --- a/doc/pcre2test.txt +++ b/doc/pcre2test.txt @@ -1612,7 +1612,7 @@ RESTARTING AFTER A PARTIAL MATCH 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 @@ AUTHOR REVISION - Last updated: 11 June 2019 + Last updated: 20 June 2019 Copyright (c) 1997-2019 University of Cambridge. diff --git a/testdata/testinput1 b/testdata/testinput1 index 4d9ec5a..c018e8b 100644 --- a/testdata/testinput1 +++ b/testdata/testinput1 @@ -6365,4 +6365,16 @@ ef) x/x,mark /(?(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 diff --git a/testdata/testoutput1 b/testdata/testoutput1 index fffb8ec..a0623eb 100644 --- a/testdata/testoutput1 +++ b/testdata/testoutput1 @@ -10081,4 +10081,20 @@ No match 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 |