Documentation update.
This commit is contained in:
parent
9c53b6b11a
commit
9d00c46ff1
|
@ -3321,12 +3321,13 @@ the outer parentheses.
|
||||||
because an ungreedy quantification with a minimum of zero acts only when a
|
because an ungreedy quantification with a minimum of zero acts only when a
|
||||||
backtrack happens. Consider, for example,
|
backtrack happens. Consider, for example,
|
||||||
<pre>
|
<pre>
|
||||||
A(*ACCEPT)??BC
|
(A(*ACCEPT)??B)C
|
||||||
</pre>
|
</pre>
|
||||||
where A, B, and C may be complex expressions. After matching "A", the matcher
|
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
|
processes "BC"; if that fails, causing a backtrack, (*ACCEPT) is triggered and
|
||||||
the match succeeds. Whereas (*COMMIT) (see below) means "fail on backtrack", a
|
the match succeeds. In both cases, all but C is captured. Whereas (*COMMIT)
|
||||||
repeated (*ACCEPT) of this type means "succeed on backtrack".
|
(see below) means "fail on backtrack", a repeated (*ACCEPT) of this type means
|
||||||
|
"succeed on backtrack".
|
||||||
</P>
|
</P>
|
||||||
<P>
|
<P>
|
||||||
<b>Warning:</b> (*ACCEPT) should not be used within a script run group, because
|
<b>Warning:</b> (*ACCEPT) should not be used within a script run group, because
|
||||||
|
@ -3742,7 +3743,7 @@ Cambridge, England.
|
||||||
</P>
|
</P>
|
||||||
<br><a name="SEC31" href="#TOC1">REVISION</a><br>
|
<br><a name="SEC31" href="#TOC1">REVISION</a><br>
|
||||||
<P>
|
<P>
|
||||||
Last updated: 10 June 2019
|
Last updated: 20 June 2019
|
||||||
<br>
|
<br>
|
||||||
Copyright © 1997-2019 University of Cambridge.
|
Copyright © 1997-2019 University of Cambridge.
|
||||||
<br>
|
<br>
|
||||||
|
|
|
@ -9030,13 +9030,13 @@ BACKTRACKING CONTROL
|
||||||
fied because an ungreedy quantification with a minimum of zero acts
|
fied because an ungreedy quantification with a minimum of zero acts
|
||||||
only when a backtrack happens. Consider, for example,
|
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
|
where A, B, and C may be complex expressions. After matching "A", the
|
||||||
matcher processes "BC"; if that fails, causing a backtrack, (*ACCEPT)
|
matcher processes "BC"; if that fails, causing a backtrack, (*ACCEPT)
|
||||||
is triggered and the match succeeds. Whereas (*COMMIT) (see below)
|
is triggered and the match succeeds. In both cases, all but C is cap-
|
||||||
means "fail on backtrack", a repeated (*ACCEPT) of this type means
|
tured. Whereas (*COMMIT) (see below) means "fail on backtrack", a
|
||||||
"succeed on backtrack".
|
repeated (*ACCEPT) of this type means "succeed on backtrack".
|
||||||
|
|
||||||
Warning: (*ACCEPT) should not be used within a script run group,
|
Warning: (*ACCEPT) should not be used within a script run group,
|
||||||
because it causes an immediate exit from the group, bypassing the
|
because it causes an immediate exit from the group, bypassing the
|
||||||
|
@ -9428,7 +9428,7 @@ AUTHOR
|
||||||
|
|
||||||
REVISION
|
REVISION
|
||||||
|
|
||||||
Last updated: 10 June 2019
|
Last updated: 20 June 2019
|
||||||
Copyright (c) 1997-2019 University of Cambridge.
|
Copyright (c) 1997-2019 University of Cambridge.
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
.TH PCRE2PATTERN 3 "10 June 2019" "PCRE2 10.34"
|
.TH PCRE2PATTERN 3 "20 June 2019" "PCRE2 10.34"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
PCRE2 - Perl-compatible regular expressions (revised API)
|
PCRE2 - Perl-compatible regular expressions (revised API)
|
||||||
.SH "PCRE2 REGULAR EXPRESSION DETAILS"
|
.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
|
because an ungreedy quantification with a minimum of zero acts only when a
|
||||||
backtrack happens. Consider, for example,
|
backtrack happens. Consider, for example,
|
||||||
.sp
|
.sp
|
||||||
A(*ACCEPT)??BC
|
(A(*ACCEPT)??B)C
|
||||||
.sp
|
.sp
|
||||||
where A, B, and C may be complex expressions. After matching "A", the matcher
|
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
|
processes "BC"; if that fails, causing a backtrack, (*ACCEPT) is triggered and
|
||||||
the match succeeds. Whereas (*COMMIT) (see below) means "fail on backtrack", a
|
the match succeeds. In both cases, all but C is captured. Whereas (*COMMIT)
|
||||||
repeated (*ACCEPT) of this type means "succeed on backtrack".
|
(see below) means "fail on backtrack", a repeated (*ACCEPT) of this type means
|
||||||
|
"succeed on backtrack".
|
||||||
.P
|
.P
|
||||||
\fBWarning:\fP (*ACCEPT) should not be used within a script run group, because
|
\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.
|
it causes an immediate exit from the group, bypassing the script run checking.
|
||||||
|
@ -3777,6 +3778,6 @@ Cambridge, England.
|
||||||
.rs
|
.rs
|
||||||
.sp
|
.sp
|
||||||
.nf
|
.nf
|
||||||
Last updated: 10 June 2019
|
Last updated: 20 June 2019
|
||||||
Copyright (c) 1997-2019 University of Cambridge.
|
Copyright (c) 1997-2019 University of Cambridge.
|
||||||
.fi
|
.fi
|
||||||
|
|
Loading…
Reference in New Issue