summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2019-07-22 11:12:47 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2019-07-22 11:12:47 +0000
commit10a763e20898ff28483944311d21bedd63856fb2 (patch)
tree8eb7a6de71400d5703ce7c26c036d64f08440cdb
parent8418e2977b99db361c519a463f9f904ca6506849 (diff)
downloadpcre-10a763e20898ff28483944311d21bedd63856fb2.tar.gz
Fix minor documentation typos.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1756 2f5784b3-3f2a-0410-8824-cb99058d5e15
-rw-r--r--doc/pcre.32
-rw-r--r--doc/pcreapi.36
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/pcre.3 b/doc/pcre.3
index 0f2837e..716d580 100644
--- a/doc/pcre.3
+++ b/doc/pcre.3
@@ -146,7 +146,7 @@ performance.
One way of guarding against this possibility is to use the
\fBpcre_fullinfo()\fP function to check the compiled pattern's options for UTF.
Alternatively, from release 8.33, you can set the PCRE_NEVER_UTF option at
-compile time. This causes an compile time error if a pattern contains a
+compile time. This causes a compile time error if a pattern contains a
UTF-setting sequence.
.P
If your application is one that supports UTF, be aware that validity checking
diff --git a/doc/pcreapi.3 b/doc/pcreapi.3
index 6e7c7c6..d792178 100644
--- a/doc/pcreapi.3
+++ b/doc/pcreapi.3
@@ -1227,7 +1227,7 @@ the following negative numbers:
PCRE_ERROR_BADOPTION the value of \fIwhat\fP was invalid
PCRE_ERROR_UNSET the requested field is not set
.sp
-The "magic number" is placed at the start of each compiled pattern as an simple
+The "magic number" is placed at the start of each compiled pattern as a simple
check against passing an arbitrary memory pointer. The endianness error can
occur if a compiled pattern is saved and reloaded on a different host. Here is
a typical call of \fBpcre_fullinfo()\fP, to obtain the length of the compiled
@@ -1294,7 +1294,7 @@ returned. For anchored patterns, -2 is returned.
.sp
Return the value of the first data unit (non-UTF character) of any matched
string in the situation where PCRE_INFO_FIRSTCHARACTERFLAGS returns 1;
-otherwise return 0. The fourth argument should point to an \fBuint_t\fP
+otherwise return 0. The fourth argument should point to a \fBuint_t\fP
variable.
.P
In the 8-bit library, the value is always less than 256. In the 16-bit library
@@ -1560,7 +1560,7 @@ returned value 1 (with "z" returned from PCRE_INFO_REQUIREDCHAR), but for
.sp
Return the value of the rightmost literal data unit that must exist in any
matched string, other than at its start, if such a value has been recorded. The
-fourth argument should point to an \fBuint32_t\fP variable. If there is no such
+fourth argument should point to a \fBuint32_t\fP variable. If there is no such
value, 0 is returned.
.
.