Comments updates.

This commit is contained in:
Philip.Hazel 2019-08-01 16:59:50 +00:00
parent ec6191cd7f
commit 81ad92820a
2 changed files with 6 additions and 4 deletions

View File

@ -6024,9 +6024,9 @@ Arguments:
Returns: > 0 => success; value is the number of ovector pairs filled Returns: > 0 => success; value is the number of ovector pairs filled
= 0 => success, but ovector is not big enough = 0 => success, but ovector is not big enough
-1 => failed to match (PCRE2_ERROR_NOMATCH) = -1 => failed to match (PCRE2_ERROR_NOMATCH)
-2 => partial match (PCRE2_ERROR_PARTIAL) = -2 => partial match (PCRE2_ERROR_PARTIAL)
< -2 => some kind of unexpected problem < -2 => some kind of unexpected problem
*/ */
PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION

View File

@ -1584,7 +1584,9 @@ return yield;
/* This function is handed a compiled expression that it must study to produce /* This function is handed a compiled expression that it must study to produce
information that will speed up the matching. information that will speed up the matching.
Argument: points to the compiled expression Argument:
re points to the compiled expression
Returns: 0 normally; non-zero should never normally occur Returns: 0 normally; non-zero should never normally occur
1 unknown opcode in set_start_bits 1 unknown opcode in set_start_bits
2 missing capturing bracket 2 missing capturing bracket