Documentation typo.

This commit is contained in:
Philip.Hazel 2018-12-14 16:10:57 +00:00
parent 9938684b7b
commit d7bc79b140
3 changed files with 3 additions and 3 deletions

View File

@ -947,7 +947,7 @@ substitutions.
</P>
<P>
For example, if the pattern /abc/ is matched against "123abc" with an offset
limit less than 3, the result is PCRE2_ERROR_NO_MATCH. A match can never be
limit less than 3, the result is PCRE2_ERROR_NOMATCH. A match can never be
found if the <i>startoffset</i> argument of <b>pcre2_match()</b>,
<b>pcre2_dfa_match()</b>, or <b>pcre2_substitute()</b> is greater than the offset
limit set in the match context.

View File

@ -960,7 +960,7 @@ PCRE2 CONTEXTS
more substitutions.
For example, if the pattern /abc/ is matched against "123abc" with an
offset limit less than 3, the result is PCRE2_ERROR_NO_MATCH. A match
offset limit less than 3, the result is PCRE2_ERROR_NOMATCH. A match
can never be found if the startoffset argument of pcre2_match(),
pcre2_dfa_match(), or pcre2_substitute() is greater than the offset
limit set in the match context.

View File

@ -885,7 +885,7 @@ offset is not found. The \fBpcre2_substitute()\fP function makes no more
substitutions.
.P
For example, if the pattern /abc/ is matched against "123abc" with an offset
limit less than 3, the result is PCRE2_ERROR_NO_MATCH. A match can never be
limit less than 3, the result is PCRE2_ERROR_NOMATCH. A match can never be
found if the \fIstartoffset\fP argument of \fBpcre2_match()\fP,
\fBpcre2_dfa_match()\fP, or \fBpcre2_substitute()\fP is greater than the offset
limit set in the match context.