Skip to content

Commit ce42cfa

Browse files
authored
Fix two typos in pcre2api, plus some other minor issues (#703)
1 parent fc04890 commit ce42cfa

File tree

7 files changed

+813
-812
lines changed

7 files changed

+813
-812
lines changed

doc/html/pcre2.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ <h1>pcre2 man page</h1>
3434
<p>
3535
As well as Perl-style regular expression patterns, some features that appeared
3636
in Python and the original PCRE before they appeared in Perl are available
37-
using the Python syntax. There is also some support for one or two .NET and
38-
Oniguruma syntax items, and there are options for requesting some minor changes
39-
that give better ECMAScript (aka JavaScript) compatibility.
37+
using the Python syntax. There is also some support for some .NET and Oniguruma
38+
syntax items, and there are options for requesting some minor changes that give
39+
better ECMAScript (JavaScript) compatibility.
4040
</p>
4141
<p>
4242
The source code for PCRE2 can be compiled to support strings of 8-bit, 16-bit,
4343
or 32-bit code units, which means that up to three separate libraries may be
44-
installed, one for each code unit size. The size of code unit is not related to
45-
the bit size of the underlying hardware. In a 64-bit environment that also
44+
installed, one for each code unit size. The size of a code unit is not related
45+
to the bit size of the underlying hardware. In a 64-bit environment that also
4646
supports 32-bit applications, versions of PCRE2 that are compiled in both
4747
64-bit and 32-bit modes may be needed.
4848
</p>

doc/html/pcre2api.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ <h1>pcre2api man page</h1>
279279
<b>int pcre2_substitute(const pcre2_code *<i>code</i>, PCRE2_SPTR <i>subject</i>,</b>
280280
<b> PCRE2_SIZE <i>length</i>, PCRE2_SIZE <i>startoffset</i>,</b>
281281
<b> uint32_t <i>options</i>, pcre2_match_data *<i>match_data</i>,</b>
282-
<b> pcre2_match_context *<i>mcontext</i>, PCRE2_SPTR <i>replacementz</i>,</b>
282+
<b> pcre2_match_context *<i>mcontext</i>, PCRE2_SPTR <i>replacement</i>,</b>
283283
<b> PCRE2_SIZE <i>rlength</i>, PCRE2_UCHAR *<i>outputbuffer</i>,</b>
284284
<b> PCRE2_SIZE *<i>outlengthptr</i>);</b>
285285
</p>
@@ -3017,7 +3017,7 @@ <h1>pcre2api man page</h1>
30173017
</pre>
30183018
The PCRE2_ANCHORED option limits <b>pcre2_match()</b> to matching at the first
30193019
matching position. If a pattern was compiled with PCRE2_ANCHORED, or turned out
3020-
to be anchored by virtue of its contents, it cannot be made unachored at
3020+
to be anchored by virtue of its contents, it cannot be made unanchored at
30213021
matching time. Note that setting the option at match time disables JIT
30223022
matching.
30233023
<pre>

doc/html/pcre2build.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ <h1>pcre2build man page</h1>
4444
<br><a name="SEC1" href="#TOC1">BUILDING PCRE2</a><br>
4545
<p>
4646
PCRE2 is distributed with a <b>configure</b> script that can be used to build
47-
the library in Unix-like environments using the applications known as
48-
Autotools. Also in the distribution are files to support building using
49-
<b>CMake</b> instead of <b>configure</b>. The text file
47+
the library in Unix-like environments using the Autotools applications. Also in
48+
the distribution are files to support building using <b>CMake</b> instead of
49+
<b>configure</b>. The text file
5050
<a href="README.txt"><b>README</b></a>
5151
contains general information about building with Autotools (some of which is
5252
repeated below), and also has some comments about building on various operating

doc/pcre2.3

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ obsolete and is no longer maintained.
1616
.P
1717
As well as Perl-style regular expression patterns, some features that appeared
1818
in Python and the original PCRE before they appeared in Perl are available
19-
using the Python syntax. There is also some support for one or two .NET and
20-
Oniguruma syntax items, and there are options for requesting some minor changes
21-
that give better ECMAScript (aka JavaScript) compatibility.
19+
using the Python syntax. There is also some support for some .NET and Oniguruma
20+
syntax items, and there are options for requesting some minor changes that give
21+
better ECMAScript (JavaScript) compatibility.
2222
.P
2323
The source code for PCRE2 can be compiled to support strings of 8-bit, 16-bit,
2424
or 32-bit code units, which means that up to three separate libraries may be
25-
installed, one for each code unit size. The size of code unit is not related to
26-
the bit size of the underlying hardware. In a 64-bit environment that also
25+
installed, one for each code unit size. The size of a code unit is not related
26+
to the bit size of the underlying hardware. In a 64-bit environment that also
2727
supports 32-bit applications, versions of PCRE2 that are compiled in both
2828
64-bit and 32-bit modes may be needed.
2929
.P

0 commit comments

Comments
 (0)