summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2018-09-07 15:56:36 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2018-09-07 15:56:36 +0000
commitcf734e637c0149fad0a16c91a9db37eac53ef59d (patch)
treeb0cf0bd83cb9b688ccdb63d81b134f4347fa5285 /doc
parent594dcb436d73efa44590f341c5ea1a5ce6a6f4e0 (diff)
downloadpcre2-cf734e637c0149fad0a16c91a9db37eac53ef59d.tar.gz
Documentation update.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@999 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'doc')
-rw-r--r--doc/pcre2api.311
1 files changed, 8 insertions, 3 deletions
diff --git a/doc/pcre2api.3 b/doc/pcre2api.3
index fff4fcc..34d96d8 100644
--- a/doc/pcre2api.3
+++ b/doc/pcre2api.3
@@ -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