Documentation update.
This commit is contained in:
parent
80c57b59f6
commit
3e6f016907
|
@ -1,4 +1,4 @@
|
|||
.TH PCRE2API 3 "02 September 2018" "PCRE2 10.32"
|
||||
.TH PCRE2API 3 "07 September 2018" "PCRE2 10.32"
|
||||
.SH NAME
|
||||
PCRE2 - Perl-compatible regular expressions (revised API)
|
||||
.sp
|
||||
|
@ -2768,7 +2768,7 @@ Elements in the ovector that do not correspond to capturing parentheses in the
|
|||
pattern are never changed. That is, if a pattern contains \fIn\fP capturing
|
||||
parentheses, no more than \fIovector[0]\fP to \fIovector[2n+1]\fP are set by
|
||||
\fBpcre2_match()\fP. The other elements retain whatever values they previously
|
||||
had.
|
||||
had. After a failed match attempt, the contents of the ovector are unchanged.
|
||||
.
|
||||
.
|
||||
.\" HTML <a name="matchotherdata"></a>
|
||||
|
@ -3200,6 +3200,11 @@ data block is obtained and freed within this function, using memory management
|
|||
functions from the match context, if provided, or else those that were used to
|
||||
allocate memory for the compiled code.
|
||||
.P
|
||||
If an external \fImatch_data\fP block is provided, its contents afterwards
|
||||
are those set by the final call to \fBpcre2_match()\fP, which will have
|
||||
ended in a matching error. The contents of the ovector within the match data
|
||||
block may or may not have been changed.
|
||||
.P
|
||||
The \fIoutlengthptr\fP argument must point to a variable that contains the
|
||||
length, in code units, of the output buffer. If the function is successful, the
|
||||
value is updated to contain the length of the new string, excluding the
|
||||
|
@ -3665,6 +3670,6 @@ Cambridge, England.
|
|||
.rs
|
||||
.sp
|
||||
.nf
|
||||
Last updated: 03 August 2018
|
||||
Last updated: 07 September 2018
|
||||
Copyright (c) 1997-2018 University of Cambridge.
|
||||
.fi
|
||||
|
|
Loading…
Reference in New Issue