[Pcre-svn] [999] code/trunk/doc/pcre2api.3: Documentation up…

Top Page
Delete this message
Author: Subversion repository
Date:  
To: pcre-svn
Subject: [Pcre-svn] [999] code/trunk/doc/pcre2api.3: Documentation update.
Revision: 999
          http://www.exim.org/viewvc/pcre2?view=rev&revision=999
Author:   ph10
Date:     2018-09-07 16:56:36 +0100 (Fri, 07 Sep 2018)
Log Message:
-----------
Documentation update.


Modified Paths:
--------------
    code/trunk/doc/pcre2api.3


Modified: code/trunk/doc/pcre2api.3
===================================================================
--- code/trunk/doc/pcre2api.3    2018-09-06 15:59:11 UTC (rev 998)
+++ code/trunk/doc/pcre2api.3    2018-09-07 15:56:36 UTC (rev 999)
@@ -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 @@
 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 @@
 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 @@
 .rs
 .sp
 .nf
-Last updated: 03 August 2018
+Last updated: 07 September 2018
 Copyright (c) 1997-2018 University of Cambridge.
 .fi