@@ -328,10 +328,10 @@ <h1>pcre2pattern man page</h1>
328328Brace characters { and } are also used to enclose data for constructions such
329329as \g{2} or \k{name}. In almost all uses of braces, space and/or horizontal
330330tab characters that follow { or precede } are allowed and are ignored. In the
331- case of quantifiers, they may also appear before or after the comma. The
331+ case of quantifiers, they may also appear before or after the comma. The
332332exception to this is \u{...} which is an ECMAScript compatibility feature
333- that is recognized only when the PCRE2_EXTRA_ALT_BSUX option is set. ECMAScript
334- does not ignore such white space; it causes the item to be interpreted as
333+ that is recognized only when the PCRE2_EXTRA_ALT_BSUX option is set. ECMAScript
334+ does not ignore such white space; it causes the item to be interpreted as
335335literal.
336336</ P >
337337< P >
@@ -472,7 +472,7 @@ <h1>pcre2pattern man page</h1>
472472(carriage return) character.
473473</ P >
474474< P >
475- An error occurs if \c is not followed by a character whose ASCII code point
475+ An error occurs if \c is not followed by a character whose ASCII code point
476476is in the range 32 to 126. The precise effect of \cx is as follows: if x is a
477477lower case letter, it is converted to upper case. Then bit 6 of the character
478478(hex 40) is inverted. Thus \cA to \cZ become hex 01 to hex 1A (A is 41, Z is
@@ -694,8 +694,8 @@ <h1>pcre2pattern man page</h1>
694694 \s any character that matches \p{Z} or \h or \v
695695 \w any character that matches \p{L}, \p{N}, \p{Mn}, or \p{Pc}
696696</ pre >
697- The addition of \p{Mn} (non-spacing mark) and the replacement of an explicit
698- test for underscore with a test for \p{Pc} (connector punctuation) happened in
697+ The addition of \p{Mn} (non-spacing mark) and the replacement of an explicit
698+ test for underscore with a test for \p{Pc} (connector punctuation) happened in
699699PCRE2 release 10.43. This brings PCRE2 into line with Perl.
700700</ P >
701701< P >
@@ -1074,7 +1074,7 @@ <h1>pcre2pattern man page</h1>
10741074carriage return, and any other character that has the Z (separator) property.
10751075Xsp is the same as Xps; in PCRE1 it used to exclude vertical tab, for Perl
10761076compatibility, but Perl changed. Xwd matches the same characters as Xan, plus
1077- those that match Mn (non-spacing mark) or Pc (connector punctuation, which
1077+ those that match Mn (non-spacing mark) or Pc (connector punctuation, which
10781078includes underscore).
10791079</ P >
10801080< P >
@@ -1586,7 +1586,7 @@ <h1>pcre2pattern man page</h1>
15861586</ P >
15871587< P >
15881588The other POSIX classes are unchanged by PCRE2_UCP, and match only characters
1589- with code points less than 256.
1589+ with code points less than 256.
15901590</ P >
15911591< P >
15921592There are two options that can be used to restrict the POSIX classes to ASCII
@@ -1613,8 +1613,8 @@ <h1>pcre2pattern man page</h1>
16131613< a href ="#smallassertions "> "Simple assertions"</ a >
16141614above), and in a Perl-style pattern the preceding or following character
16151615normally shows which is wanted, without the need for the assertions that are
1616- used above in order to give exactly the POSIX behaviour. Note also that the
1617- PCRE2_UCP option changes the meaning of \w (and therefore \b) by default, so
1616+ used above in order to give exactly the POSIX behaviour. Note also that the
1617+ PCRE2_UCP option changes the meaning of \w (and therefore \b) by default, so
16181618it also affects these POSIX sequences.
16191619</ P >
16201620< br > < a name ="SEC12 " href ="#TOC1 "> VERTICAL BAR</ a > < br >
@@ -1682,8 +1682,8 @@ <h1>pcre2pattern man page</h1>
16821682above, it sets (or unsets) all the ASCII options.
16831683</ P >
16841684< P >
1685- PCRE2_EXTRA_ASCII_DIGIT has no additional effect when PCRE2_EXTRA_ASCII_POSIX
1686- is set, but including it in (?aP) means that (?-aP) suppresses all ASCII
1685+ PCRE2_EXTRA_ASCII_DIGIT has no additional effect when PCRE2_EXTRA_ASCII_POSIX
1686+ is set, but including it in (?aP) means that (?-aP) suppresses all ASCII
16871687restrictions for POSIX classes.
16881688</ P >
16891689< P >
@@ -1993,7 +1993,7 @@ <h1>pcre2pattern man page</h1>
19931993 X{,4} is interpreted as X{0,4}
19941994</ pre >
19951995This is a change in behaviour that happened in Perl 5.34.0 and PCRE2 10.43. In
1996- earlier versions such a sequence was not interpreted as a quantifier. Other
1996+ earlier versions such a sequence was not interpreted as a quantifier. Other
19971997regular expression engines may behave either way.
19981998</ P >
19991999< P >
@@ -2287,7 +2287,7 @@ <h1>pcre2pattern man page</h1>
22872287The sequence \g{-1} is a reference to the capture group whose number is one
22882288less than the number of the next group to be started, so in this example (where
22892289the next group would be numbered 3) is it equivalent to \2, and \g{-2} would
2290- be equivalent to \1. Note that if this construct is inside a capture group,
2290+ be equivalent to \1. Note that if this construct is inside a capture group,
22912291that group is included in the count, so in this example \g{-2} also refers to
22922292group 1:
22932293< pre >
@@ -2323,8 +2323,8 @@ <h1>pcre2pattern man page</h1>
23232323</ P >
23242324< P >
23252325There are several different ways of writing backreferences to named capture
2326- groups. The .NET syntax is \k{name}, the Python syntax is (?=name), and the
2327- original Perl syntax is \k<name> or \k'name'. All of these are now supported
2326+ groups. The .NET syntax is \k{name}, the Python syntax is (?=name), and the
2327+ original Perl syntax is \k<name> or \k'name'. All of these are now supported
23282328by both Perl and PCRE2. Perl 5.10's unified backreference syntax, in which \g
23292329can be used for both numeric and named references, is also supported by PCRE2.
23302330We could rewrite the above example in any of the following ways:
@@ -2778,7 +2778,7 @@ <h1>pcre2pattern man page</h1>
27782778condition is true if a capture group of that number has previously matched. If
27792779there is more than one capture group with the same number (see the earlier
27802780< a href ="#recursion "> section about duplicate group numbers),</ a >
2781- the condition is true if any of them have matched. An alternative notation,
2781+ the condition is true if any of them have matched. An alternative notation,
27822782which is a PCRE2 extension, not supported by Perl, is to precede the digits
27832783with a plus or minus sign. In this case, the group number is relative rather
27842784than absolute. The most recently opened capture group (which could be enclosing
0 commit comments