Skip to content

Commit db53e40

Browse files
authored
Correct spelling mistakes (PCRE2Project#143)
1 parent a104b51 commit db53e40

7 files changed

+9
-9
lines changed

132html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ while (<STDIN>)
9494
die "*** Processing abandoned\n";
9595
}
9696

97-
# Instead of .br, relevent "literal" sections are enclosed in .nf/.fi.
97+
# Instead of .br, relevant "literal" sections are enclosed in .nf/.fi.
9898

9999
elsif (/^\.nf/)
100100
{

HACKING

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ within the compiled pattern. LINK_SIZE always specifies a number of bytes. The
371371
default value for LINK_SIZE is 2, except for the 32-bit library, where it can
372372
only be 4. The 8-bit library can be compiled to used 3-byte or 4-byte values,
373373
and the 16-bit library can be compiled to use 4-byte values, though this
374-
impairs performance. Specifing a LINK_SIZE larger than 2 for these libraries is
374+
impairs performance. Specifying a LINK_SIZE larger than 2 for these libraries is
375375
necessary only when patterns whose compiled length is greater than 65535 code
376376
units are going to be processed. When a LINK_SIZE value uses more than one code
377377
unit, the most significant unit is first.

Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ CLEANFILES += \
739739
## ------------ End of testing -------------
740740

741741

742-
# PCRE2 demonstration program. Not built automatcally. The point is that the
742+
# PCRE2 demonstration program. Not built automatically. The point is that the
743743
# users should build it themselves. So just distribute the source.
744744

745745
EXTRA_DIST += src/pcre2demo.c

RunTest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ for bmode in "$test8" "$test16" "$test32"; do
656656
# Test of internal offsets and code sizes. This test is run only when there
657657
# is UTF/UCP support. The actual tests are mostly the same as in some of the
658658
# above, but in this test we inspect some offsets and sizes. This is a
659-
# doublecheck for the maintainer, just in case something changes unexpectely.
659+
# doublecheck for the maintainer, just in case something changes unexpectedly.
660660
# The output from this test is different in 8-bit, 16-bit, and 32-bit modes
661661
# and for different link sizes, so there are different output files for each
662662
# mode and link size.

doc/pcre2_match_data_create_from_pattern.3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ offsets that are required in the match data block. These form the "output
2121
vector" (ovector) within the match data block, and are used to identify the
2222
matched string and any captured substrings when matching with
2323
\fBpcre2_match()\fP. If you are using \fBpcre2_dfa_match()\fP, which uses the
24-
outut vector in a different way, you should use \fBpcre2_match_data_create()\fP
24+
output vector in a different way, you should use \fBpcre2_match_data_create()\fP
2525
instead of this function.
2626
.P
2727
The second argument points to a general context, for custom memory management,

doc/pcre2test.1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ output, then exit with zero exit code. All other options are ignored. If both
219219
-C and any -Lx options are present, whichever is first is recognized.
220220
.TP 10
221221
\fB-LS\fP
222-
List scripts: write a list of recogized Unicode script names to the standard
222+
List scripts: write a list of recognized Unicode script names to the standard
223223
output, then exit with zero exit code. All other options are ignored. If both
224224
-C and any -Lx options are present, whichever is first is recognized.
225225
.TP 10
@@ -1334,7 +1334,7 @@ controlled by various modifiers listed above whose names begin with
13341334
.\" </a>
13351335
below.
13361336
.\"
1337-
Testing callouts from \fBpcre2_substitute()\fP is decribed separately in
1337+
Testing callouts from \fBpcre2_substitute()\fP is described separately in
13381338
"Testing the substitution function"
13391339
.\" HTML <a href="#substitution">
13401340
.\" </a>
@@ -2093,7 +2093,7 @@ reloads two patterns.
20932093
If \fBjitverify\fP is used with #pop, it does not automatically imply
20942094
\fBjit\fP, which is different behaviour from when it is used on a pattern.
20952095
.P
2096-
The #popcopy command is analagous to the \fBpushcopy\fP modifier in that it
2096+
The #popcopy command is analogous to the \fBpushcopy\fP modifier in that it
20972097
makes current a copy of the topmost stack pattern, leaving the original still
20982098
on the stack.
20992099
.

perltest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ for (;;)
218218
219219
$showrest = ($mod =~ s/aftertext,?//);
220220
221-
# The "subject_literal" modifer disables escapes in subjects.
221+
# The "subject_literal" modifier disables escapes in subjects.
222222
223223
$subject_literal = ($mod =~ s/subject_literal,?//);
224224

0 commit comments

Comments
 (0)