summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2018-12-14 16:10:57 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2018-12-14 16:10:57 +0000
commit72353b1ea1aee79cf043a1967702a6fe55e2e081 (patch)
treea004645dc750bcc0a3ca27cb09be72aed68d3169
parentd1652904e15c4c59225701c9407ed7539e069bac (diff)
downloadpcre2-72353b1ea1aee79cf043a1967702a6fe55e2e081.tar.gz
Documentation typo.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1056 6239d852-aaf2-0410-a92c-79f79f948069
-rw-r--r--doc/html/pcre2api.html2
-rw-r--r--doc/pcre2.txt2
-rw-r--r--doc/pcre2api.32
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/pcre2api.html b/doc/html/pcre2api.html
index 25a04ea..9e02fda 100644
--- a/doc/html/pcre2api.html
+++ b/doc/html/pcre2api.html
@@ -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.
diff --git a/doc/pcre2.txt b/doc/pcre2.txt
index f878aa8..fa5ef88 100644
--- a/doc/pcre2.txt
+++ b/doc/pcre2.txt
@@ -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.
diff --git a/doc/pcre2api.3 b/doc/pcre2api.3
index c31865b..5d64bc9 100644
--- a/doc/pcre2api.3
+++ b/doc/pcre2api.3
@@ -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.