summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2019-06-20 15:50:21 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2019-06-20 15:50:21 +0000
commit0dd710da35c1a4e9aa27fd6badfa2370dc9c504a (patch)
tree8c6083547583695c04b56bcf08faa54ee079915c /doc
parent08fe86a60da5bf5864e4932579c9d376b07a5859 (diff)
downloadpcre2-0dd710da35c1a4e9aa27fd6badfa2370dc9c504a.tar.gz
Documentation update.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1113 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'doc')
-rw-r--r--doc/html/pcre2pattern.html9
-rw-r--r--doc/pcre2.txt10
-rw-r--r--doc/pcre2pattern.311
3 files changed, 16 insertions, 14 deletions
diff --git a/doc/html/pcre2pattern.html b/doc/html/pcre2pattern.html
index d4a107b..3c915d4 100644
--- a/doc/html/pcre2pattern.html
+++ b/doc/html/pcre2pattern.html
@@ -3321,12 +3321,13 @@ the outer parentheses.
because an ungreedy quantification with a minimum of zero acts only when a
backtrack happens. Consider, for example,
<pre>
- A(*ACCEPT)??BC
+ (A(*ACCEPT)??B)C
</pre>
where A, B, and C may be complex expressions. After matching "A", the matcher
processes "BC"; if that fails, causing a backtrack, (*ACCEPT) is triggered and
-the match succeeds. Whereas (*COMMIT) (see below) means "fail on backtrack", a
-repeated (*ACCEPT) of this type means "succeed on backtrack".
+the match succeeds. In both cases, all but C is captured. Whereas (*COMMIT)
+(see below) means "fail on backtrack", a repeated (*ACCEPT) of this type means
+"succeed on backtrack".
</P>
<P>
<b>Warning:</b> (*ACCEPT) should not be used within a script run group, because
@@ -3742,7 +3743,7 @@ Cambridge, England.
</P>
<br><a name="SEC31" href="#TOC1">REVISION</a><br>
<P>
-Last updated: 10 June 2019
+Last updated: 20 June 2019
<br>
Copyright &copy; 1997-2019 University of Cambridge.
<br>
diff --git a/doc/pcre2.txt b/doc/pcre2.txt
index 921058e..b56a7a7 100644
--- a/doc/pcre2.txt
+++ b/doc/pcre2.txt
@@ -9030,13 +9030,13 @@ BACKTRACKING CONTROL
fied because an ungreedy quantification with a minimum of zero acts
only when a backtrack happens. Consider, for example,
- A(*ACCEPT)??BC
+ (A(*ACCEPT)??B)C
where A, B, and C may be complex expressions. After matching "A", the
matcher processes "BC"; if that fails, causing a backtrack, (*ACCEPT)
- is triggered and the match succeeds. Whereas (*COMMIT) (see below)
- means "fail on backtrack", a repeated (*ACCEPT) of this type means
- "succeed on backtrack".
+ is triggered and the match succeeds. In both cases, all but C is cap-
+ tured. Whereas (*COMMIT) (see below) means "fail on backtrack", a
+ repeated (*ACCEPT) of this type means "succeed on backtrack".
Warning: (*ACCEPT) should not be used within a script run group,
because it causes an immediate exit from the group, bypassing the
@@ -9428,7 +9428,7 @@ AUTHOR
REVISION
- Last updated: 10 June 2019
+ Last updated: 20 June 2019
Copyright (c) 1997-2019 University of Cambridge.
------------------------------------------------------------------------------
diff --git a/doc/pcre2pattern.3 b/doc/pcre2pattern.3
index 45c64e1..32eb14a 100644
--- a/doc/pcre2pattern.3
+++ b/doc/pcre2pattern.3
@@ -1,4 +1,4 @@
-.TH PCRE2PATTERN 3 "10 June 2019" "PCRE2 10.34"
+.TH PCRE2PATTERN 3 "20 June 2019" "PCRE2 10.34"
.SH NAME
PCRE2 - Perl-compatible regular expressions (revised API)
.SH "PCRE2 REGULAR EXPRESSION DETAILS"
@@ -3366,12 +3366,13 @@ the outer parentheses.
because an ungreedy quantification with a minimum of zero acts only when a
backtrack happens. Consider, for example,
.sp
- A(*ACCEPT)??BC
+ (A(*ACCEPT)??B)C
.sp
where A, B, and C may be complex expressions. After matching "A", the matcher
processes "BC"; if that fails, causing a backtrack, (*ACCEPT) is triggered and
-the match succeeds. Whereas (*COMMIT) (see below) means "fail on backtrack", a
-repeated (*ACCEPT) of this type means "succeed on backtrack".
+the match succeeds. In both cases, all but C is captured. Whereas (*COMMIT)
+(see below) means "fail on backtrack", a repeated (*ACCEPT) of this type means
+"succeed on backtrack".
.P
\fBWarning:\fP (*ACCEPT) should not be used within a script run group, because
it causes an immediate exit from the group, bypassing the script run checking.
@@ -3777,6 +3778,6 @@ Cambridge, England.
.rs
.sp
.nf
-Last updated: 10 June 2019
+Last updated: 20 June 2019
Copyright (c) 1997-2019 University of Cambridge.
.fi