@@ -3016,7 +3016,7 @@ HOW PCRE2_MATCH() RETURNS A STRING AND CAPTURED SUBSTRINGS
3016
3016
is matched against the pattern (abc)(x(yz)?)? groups 2 and 3 are not
3017
3017
matched. The return from the function is 2, because the highest used
3018
3018
capture group number is 1. The offsets for for the second and third
3019
- capture groupss (assuming the vector is large enough, of course) are
3019
+ capture groups (assuming the vector is large enough, of course) are
3020
3020
set to PCRE2_UNSET.
3021
3021
3022
3022
Elements in the ovector that do not correspond to capturing parentheses
@@ -4441,7 +4441,7 @@ PCRE2TEST OPTION FOR LIBREADLINE SUPPORT
4441
4441
4442
4442
Setting --enable-pcre2test-libreadline causes the -lreadline option to
4443
4443
be added to the pcre2test build. In many operating environments with a
4444
- sytem -installed readline library this is sufficient. However, in some
4444
+ system -installed readline library this is sufficient. However, in some
4445
4445
environments (e.g. if an unmodified distribution version of readline is
4446
4446
in use), some extra configuration may be necessary. The INSTALL file
4447
4447
for libreadline says this:
@@ -5615,7 +5615,7 @@ JIT STACK FAQ
5615
5615
if a pattern causes stack overflow with a stack of 1MiB? Is that 1MiB
5616
5616
kept until the stack is freed?
5617
5617
5618
- Especially on embedded sytems , it might be a good idea to release mem-
5618
+ Especially on embedded systems , it might be a good idea to release mem-
5619
5619
ory sometimes without freeing the stack. There is no API for this at
5620
5620
the moment. Probably a function call which returns with the currently
5621
5621
allocated memory for any stack and another which allows releasing mem-
@@ -7568,7 +7568,7 @@ FULL STOP (PERIOD, DOT) AND \N
7568
7568
ter sequence CRLF is the only line ending, dot does not match CR if it
7569
7569
is immediately followed by LF, but otherwise it matches all characters
7570
7570
(including isolated CRs and LFs). When ANYCRLF is selected for line
7571
- endings, no occurences of CR of LF match dot. When all Unicode line
7571
+ endings, no occurrences of CR of LF match dot. When all Unicode line
7572
7572
endings are being recognized, dot does not match CR or LF or any of the
7573
7573
other line ending characters.
7574
7574
@@ -8864,7 +8864,7 @@ NON-ATOMIC ASSERTIONS
8864
8864
captured word, using an ungreedy .*? to scan from the left. If this
8865
8865
succeeds, we are done, but if the last word in the string does not oc-
8866
8866
cur twice, this part of the pattern fails. If a traditional atomic
8867
- lookhead (?= or (*pla: had been used, the assertion could not be re-en-
8867
+ lookahead (?= or (*pla: had been used, the assertion could not be re-en-
8868
8868
tered, and the whole match would fail. The pattern would succeed only
8869
8869
if the very last word in the subject was found twice.
8870
8870
@@ -10415,7 +10415,7 @@ COMPILING A PATTERN
10415
10415
10416
10416
The PCRE2_UCP option is set when the regular expression is passed for
10417
10417
compilation to the native function. This causes PCRE2 to use Unicode
10418
- properties when matchine \d, \w, etc., instead of just recognizing
10418
+ properties when matching \d, \w, etc., instead of just recognizing
10419
10419
ASCII values. Note that REG_UCP is not part of the POSIX standard.
10420
10420
10421
10421
REG_UNGREEDY
@@ -10766,7 +10766,7 @@ SAVING COMPILED PATTERNS
10766
10766
the length of the vector. The third and fourth arguments point to vari-
10767
10767
ables which are set to point to the created byte stream and its length,
10768
10768
respectively. The final argument is a pointer to a general context,
10769
- which can be used to specify custom memory mangagement functions. If
10769
+ which can be used to specify custom memory management functions. If
10770
10770
this argument is NULL, malloc() is used to obtain memory for the byte
10771
10771
stream. The yield of the function is the number of serialized patterns,
10772
10772
or one of the following negative error codes:
@@ -10830,7 +10830,7 @@ RE-USING PRECOMPILED PATTERNS
10830
10830
a vector. The first two arguments are a pointer to a suitable vector
10831
10831
and its length, and the third argument points to a byte stream. The fi-
10832
10832
nal argument is a pointer to a general context, which can be used to
10833
- specify custom memory mangagement functions for the decoded patterns.
10833
+ specify custom memory management functions for the decoded patterns.
10834
10834
If this argument is NULL, malloc() and free() are used. After deserial-
10835
10835
ization, the byte stream is no longer needed and can be discarded.
10836
10836
@@ -11060,7 +11060,7 @@ PCRE2 SPECIAL CATEGORY PROPERTIES FOR \p and \P
11060
11060
Xan Alphanumeric: union of properties L and N
11061
11061
Xps POSIX space: property Z or tab, NL, VT, FF, CR
11062
11062
Xsp Perl space: property Z or tab, NL, VT, FF, CR
11063
- Xuc Univerally -named character: one that can be
11063
+ Xuc Universally -named character: one that can be
11064
11064
represented by a Universal Character Name
11065
11065
Xwd Perl word: property Xan or underscore
11066
11066
0 commit comments