Skip to content

Commit 3e52db5

Browse files
authored
doc: fix various typos (#132)
1 parent 4804b00 commit 3e52db5

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed

ChangeLog

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,27 @@ Version 10.41 xx-xxx-2022
66
-------------------------
77

88
1. Add fflush() before and after a fork callout in pcre2grep to get its output
9-
to be the same on all systems. (THere were previously ordering differences in
9+
to be the same on all systems. (THere were previously ordering differences in
1010
Alpine Linux).
1111

1212
2. Merged patch from @carenas (GitHub #110) for pthreads support in CMake.
1313

1414
3. SSF scorecards grumbled about possible overflow in an expression in
15-
pcre2test. It never would have overflowed in practice, but some casts have been
16-
added and at the some time there's been some tidying of fprints that output
15+
pcre2test. It never would have overflowed in practice, but some casts have been
16+
added and at the some time there's been some tidying of fprints that output
1717
size_t values.
1818

19-
4. PR #94 showed up an unused enum in pcre2_convert.c, which is now removed.
19+
4. PR #94 showed up an unused enum in pcre2_convert.c, which is now removed.
2020

21-
5. Minor code re-arrangement to remove gcc warning about realloc() in
21+
5. Minor code re-arrangement to remove gcc warning about realloc() in
2222
pcre2test.
2323

2424
6. Change a number of int variables that hold buffer and line lengths in
2525
pcre2grep to PCRE2_SIZE (aka size_t).
2626

27-
7. Added an #ifdef to cut out a call to PRIV(jit_free) when JIT is not
28-
supported (even though that function would do nothing in that case) at the
29-
request of a user who doesn't even want to link with pcre_jit_compile.o. Also
27+
7. Added an #ifdef to cut out a call to PRIV(jit_free) when JIT is not
28+
supported (even though that function would do nothing in that case) at the
29+
request of a user who doesn't even want to link with pcre_jit_compile.o. Also
3030
tidied up an untidy #ifdef arrangement in pcre2test.
3131

3232

@@ -120,7 +120,7 @@ pattern, the optimizing "must be present for a match" character check was not
120120
being flagged as caseless, causing some matches that should have succeeded to
121121
fail.
122122

123-
23. Fixed a unicode properrty matching issue in JIT. The character was not
123+
23. Fixed a unicode property matching issue in JIT. The character was not
124124
fully read in caseless matching.
125125

126126
24. Fixed an issue affecting recursions in JIT caused by duplicated data
@@ -147,10 +147,10 @@ Version 10.39 29-October-2021
147147
honoured if chosen.
148148

149149
prtdiff_t is signed, so use a signed type instead, and make sure
150-
that an appropiate width is chosen if pointers are 64bit wide and
150+
that an appropriate width is chosen if pointers are 64bit wide and
151151
long is not (ex: Windows 64bit).
152152

153-
IMHO removing the cast (and therefore the positibilty of truncation)
153+
IMHO removing the cast (and therefore the possibilty of truncation)
154154
make the code cleaner and the fallback is likely portable enough
155155
with all 64-bit POSIX systems doing LP64 except for Windows.
156156

@@ -201,7 +201,7 @@ Version 10.38 01-October-2021
201201
-----------------------------
202202

203203
1. Fix invalid single character repetition issues in JIT when the repetition
204-
is inside a capturing bracket and the bracket is preceeded by character
204+
is inside a capturing bracket and the bracket is preceded by character
205205
literals.
206206

207207
2. Installed revised CMake configuration files provided by Jan-Willem Blokland.
@@ -441,7 +441,7 @@ now correctly backtracked, so this unnecessary restriction has been removed.
441441

442442
7. Added PCRE2_SUBSTITUTE_MATCHED.
443443

444-
8. Added (?* and (?<* as synonms for (*napla: and (*naplb: to match another
444+
8. Added (?* and (?<* as synonyms for (*napla: and (*naplb: to match another
445445
regex engine. The Perl regex folks are aware of this usage and have made a note
446446
about it.
447447

@@ -872,7 +872,7 @@ Patch by Guillem Jover.
872872
warnings were reported.
873873

874874
38. Using the clang compiler with sanitizing options causes runtime complaints
875-
about truncation for statments such as x = ~x when x is an 8-bit value; it
875+
about truncation for statements such as x = ~x when x is an 8-bit value; it
876876
seems to compute ~x as a 32-bit value. Changing such statements to x = 255 ^ x
877877
gets rid of the warnings. There were also two missing casts in pcre2test.
878878

HACKING

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ META_THEN (*THEN) - no argument (see below for with argument)
212212

213213
The two RANGE values occur only in character classes. They are positioned
214214
between two literals that define the start and end of the range. In an EBCDIC
215-
evironment it is necessary to know whether either of the range values was
215+
environment it is necessary to know whether either of the range values was
216216
specified as an escape. In an ASCII/Unicode environment the distinction is not
217217
relevant.
218218

@@ -233,7 +233,7 @@ their data in the lower 16 bits of the element. META_RECURSE is followed by an
233233
offset, for use in error messages.
234234

235235
META_BACKREF is followed by an offset if the back reference group number is 10
236-
or more. The offsets of the first ocurrences of references to groups whose
236+
or more. The offsets of the first occurrences of references to groups whose
237237
numbers are less than 10 are put in cb->small_ref_offset[] (only the first
238238
occurrence is useful). On 64-bit systems this avoids using more than two parsed
239239
pattern elements for items such as \3. The offset is used when an error occurs

NON-AUTOTOOLS-BUILD

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ cache can be deleted by selecting "File > Delete Cache".
307307
3. Create a new, empty build directory, preferably a subdirectory of the
308308
source dir. For example, C:\pcre2\pcre2-xx\build.
309309

310-
4. Run cmake-gui from the Shell envirornment of your build tool, for example,
310+
4. Run cmake-gui from the Shell environment of your build tool, for example,
311311
Msys for Msys/MinGW or Visual Studio Command Prompt for VC/VC++. Do not try
312312
to start Cmake from the Windows Start menu, as this can lead to errors.
313313

@@ -374,7 +374,7 @@ Otherwise:
374374
1. Copy RunTest.bat into the directory where pcre2test.exe and pcre2grep.exe
375375
have been created.
376376

377-
2. Edit RunTest.bat to indentify the full or relative location of
377+
2. Edit RunTest.bat to identify the full or relative location of
378378
the pcre2 source (wherein which the testdata folder resides), e.g.:
379379

380380
set srcdir=C:\pcre2\pcre2-10.00

README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ Test 14 contains some special UTF and UCP tests that give different output for
696696
different code unit widths.
697697

698698
Test 15 contains a number of tests that must not be run with JIT. They check,
699-
among other non-JIT things, the match-limiting features of the intepretive
699+
among other non-JIT things, the match-limiting features of the interpretive
700700
matcher.
701701

702702
Test 16 is run only when JIT support is not available. It checks that an

doc/html/NON-AUTOTOOLS-BUILD.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ cache can be deleted by selecting "File > Delete Cache".
306306
3. Create a new, empty build directory, preferably a subdirectory of the
307307
source dir. For example, C:\pcre2\pcre2-xx\build.
308308

309-
4. Run cmake-gui from the Shell envirornment of your build tool, for example,
309+
4. Run cmake-gui from the Shell environment of your build tool, for example,
310310
Msys for Msys/MinGW or Visual Studio Command Prompt for VC/VC++. Do not try
311311
to start Cmake from the Windows Start menu, as this can lead to errors.
312312

0 commit comments

Comments
 (0)