Fix very minor typos in documentation: redundant spaces.

This commit is contained in:
Philip Hazel 2021-10-30 11:25:12 +01:00
parent 35fee4193b
commit 072717a61f
5 changed files with 44 additions and 44 deletions

View File

@ -2316,7 +2316,7 @@ return zero. The third argument should point to a <b>size_t</b> variable.
PCRE2_INFO_LASTCODETYPE PCRE2_INFO_LASTCODETYPE
</pre> </pre>
Returns 1 if there is a rightmost literal code unit that must exist in any Returns 1 if there is a rightmost literal code unit that must exist in any
matched string, other than at its start. The third argument should point to a matched string, other than at its start. The third argument should point to a
<b>uint32_t</b> variable. If there is no such value, 0 is returned. When 1 is <b>uint32_t</b> variable. If there is no such value, 0 is returned. When 1 is
returned, the code unit value itself can be retrieved using returned, the code unit value itself can be retrieved using
PCRE2_INFO_LASTCODEUNIT. For anchored patterns, a last literal value is PCRE2_INFO_LASTCODEUNIT. For anchored patterns, a last literal value is
@ -3583,7 +3583,7 @@ and force lower case. The escape sequences change the current state: \U and
terminating a \Q quoted sequence) reverts to no case forcing. The sequences terminating a \Q quoted sequence) reverts to no case forcing. The sequences
\u and \l force the next character (if it is a letter) to upper or lower \u and \l force the next character (if it is a letter) to upper or lower
case, respectively, and then the state automatically reverts to no case case, respectively, and then the state automatically reverts to no case
forcing. Case forcing applies to all inserted characters, including those from forcing. Case forcing applies to all inserted characters, including those from
capture groups and letters within \Q...\E quoted sequences. If either capture groups and letters within \Q...\E quoted sequences. If either
PCRE2_UTF or PCRE2_UCP was set when the pattern was compiled, Unicode PCRE2_UTF or PCRE2_UCP was set when the pattern was compiled, Unicode
properties are used for case forcing characters whose code points are greater properties are used for case forcing characters whose code points are greater

View File

@ -2180,10 +2180,10 @@ be easier to remember:
<pre> <pre>
(*atomic:\d+)foo (*atomic:\d+)foo
</pre> </pre>
This kind of parenthesized group "locks up" the part of the pattern it This kind of parenthesized group "locks up" the part of the pattern it contains
contains once it has matched, and a failure further into the pattern is once it has matched, and a failure further into the pattern is prevented from
prevented from backtracking into it. Backtracking past it to previous items, backtracking into it. Backtracking past it to previous items, however, works as
however, works as normal. normal.
</P> </P>
<P> <P>
An alternative description is that a group of this type matches exactly the An alternative description is that a group of this type matches exactly the

View File

@ -185,8 +185,8 @@ REVISION
Last updated: 27 August 2021 Last updated: 27 August 2021
Copyright (c) 1997-2021 University of Cambridge. Copyright (c) 1997-2021 University of Cambridge.
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
PCRE2API(3) Library Functions Manual PCRE2API(3) PCRE2API(3) Library Functions Manual PCRE2API(3)
@ -3459,7 +3459,7 @@ CREATING A NEW STRING WITH SUBSTITUTIONS
no case forcing. The sequences \u and \l force the next character (if no case forcing. The sequences \u and \l force the next character (if
it is a letter) to upper or lower case, respectively, and then the it is a letter) to upper or lower case, respectively, and then the
state automatically reverts to no case forcing. Case forcing applies to state automatically reverts to no case forcing. Case forcing applies to
all inserted characters, including those from capture groups and let- all inserted characters, including those from capture groups and let-
ters within \Q...\E quoted sequences. If either PCRE2_UTF or PCRE2_UCP ters within \Q...\E quoted sequences. If either PCRE2_UTF or PCRE2_UCP
was set when the pattern was compiled, Unicode properties are used for was set when the pattern was compiled, Unicode properties are used for
case forcing characters whose code points are greater than 127. case forcing characters whose code points are greater than 127.
@ -3851,8 +3851,8 @@ REVISION
Last updated: 30 August 2021 Last updated: 30 August 2021
Copyright (c) 1997-2021 University of Cambridge. Copyright (c) 1997-2021 University of Cambridge.
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
PCRE2BUILD(3) Library Functions Manual PCRE2BUILD(3) PCRE2BUILD(3) Library Functions Manual PCRE2BUILD(3)
@ -4447,8 +4447,8 @@ REVISION
Last updated: 20 March 2020 Last updated: 20 March 2020
Copyright (c) 1997-2020 University of Cambridge. Copyright (c) 1997-2020 University of Cambridge.
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
PCRE2CALLOUT(3) Library Functions Manual PCRE2CALLOUT(3) PCRE2CALLOUT(3) Library Functions Manual PCRE2CALLOUT(3)
@ -4877,8 +4877,8 @@ REVISION
Last updated: 03 February 2019 Last updated: 03 February 2019
Copyright (c) 1997-2019 University of Cambridge. Copyright (c) 1997-2019 University of Cambridge.
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
PCRE2COMPAT(3) Library Functions Manual PCRE2COMPAT(3) PCRE2COMPAT(3) Library Functions Manual PCRE2COMPAT(3)
@ -5092,8 +5092,8 @@ REVISION
Last updated: 30 August 2021 Last updated: 30 August 2021
Copyright (c) 1997-2021 University of Cambridge. Copyright (c) 1997-2021 University of Cambridge.
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
PCRE2JIT(3) Library Functions Manual PCRE2JIT(3) PCRE2JIT(3) Library Functions Manual PCRE2JIT(3)
@ -5518,8 +5518,8 @@ REVISION
Last updated: 23 May 2019 Last updated: 23 May 2019
Copyright (c) 1997-2019 University of Cambridge. Copyright (c) 1997-2019 University of Cambridge.
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
PCRE2LIMITS(3) Library Functions Manual PCRE2LIMITS(3) PCRE2LIMITS(3) Library Functions Manual PCRE2LIMITS(3)
@ -5588,8 +5588,8 @@ REVISION
Last updated: 02 February 2019 Last updated: 02 February 2019
Copyright (c) 1997-2019 University of Cambridge. Copyright (c) 1997-2019 University of Cambridge.
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
PCRE2MATCHING(3) Library Functions Manual PCRE2MATCHING(3) PCRE2MATCHING(3) Library Functions Manual PCRE2MATCHING(3)
@ -5813,8 +5813,8 @@ REVISION
Last updated: 28 August 2021 Last updated: 28 August 2021
Copyright (c) 1997-2021 University of Cambridge. Copyright (c) 1997-2021 University of Cambridge.
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
PCRE2PARTIAL(3) Library Functions Manual PCRE2PARTIAL(3) PCRE2PARTIAL(3) Library Functions Manual PCRE2PARTIAL(3)
@ -6193,8 +6193,8 @@ REVISION
Last updated: 04 September 2019 Last updated: 04 September 2019
Copyright (c) 1997-2019 University of Cambridge. Copyright (c) 1997-2019 University of Cambridge.
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
PCRE2PATTERN(3) Library Functions Manual PCRE2PATTERN(3) PCRE2PATTERN(3) Library Functions Manual PCRE2PATTERN(3)
@ -8068,7 +8068,7 @@ ATOMIC GROUPING AND POSSESSIVE QUANTIFIERS
(*atomic:\d+)foo (*atomic:\d+)foo
This kind of parenthesized group "locks up" the part of the pattern it This kind of parenthesized group "locks up" the part of the pattern it
contains once it has matched, and a failure further into the pattern is contains once it has matched, and a failure further into the pattern is
prevented from backtracking into it. Backtracking past it to previous prevented from backtracking into it. Backtracking past it to previous
items, however, works as normal. items, however, works as normal.
@ -9643,8 +9643,8 @@ REVISION
Last updated: 30 August 2021 Last updated: 30 August 2021
Copyright (c) 1997-2021 University of Cambridge. Copyright (c) 1997-2021 University of Cambridge.
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
PCRE2PERFORM(3) Library Functions Manual PCRE2PERFORM(3) PCRE2PERFORM(3) Library Functions Manual PCRE2PERFORM(3)
@ -9878,8 +9878,8 @@ REVISION
Last updated: 03 February 2019 Last updated: 03 February 2019
Copyright (c) 1997-2019 University of Cambridge. Copyright (c) 1997-2019 University of Cambridge.
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
PCRE2POSIX(3) Library Functions Manual PCRE2POSIX(3) PCRE2POSIX(3) Library Functions Manual PCRE2POSIX(3)
@ -10212,8 +10212,8 @@ REVISION
Last updated: 26 April 2021 Last updated: 26 April 2021
Copyright (c) 1997-2021 University of Cambridge. Copyright (c) 1997-2021 University of Cambridge.
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
PCRE2SAMPLE(3) Library Functions Manual PCRE2SAMPLE(3) PCRE2SAMPLE(3) Library Functions Manual PCRE2SAMPLE(3)
@ -10491,8 +10491,8 @@ REVISION
Last updated: 27 June 2018 Last updated: 27 June 2018
Copyright (c) 1997-2018 University of Cambridge. Copyright (c) 1997-2018 University of Cambridge.
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
PCRE2SYNTAX(3) Library Functions Manual PCRE2SYNTAX(3) PCRE2SYNTAX(3) Library Functions Manual PCRE2SYNTAX(3)
@ -11011,8 +11011,8 @@ REVISION
Last updated: 30 August 2021 Last updated: 30 August 2021
Copyright (c) 1997-2021 University of Cambridge. Copyright (c) 1997-2021 University of Cambridge.
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
PCRE2UNICODE(3) Library Functions Manual PCRE2UNICODE(3) PCRE2UNICODE(3) Library Functions Manual PCRE2UNICODE(3)
@ -11446,5 +11446,5 @@ REVISION
Last updated: 23 February 2020 Last updated: 23 February 2020
Copyright (c) 1997-2020 University of Cambridge. Copyright (c) 1997-2020 University of Cambridge.
------------------------------------------------------------------------------ ------------------------------------------------------------------------------

View File

@ -2279,7 +2279,7 @@ return zero. The third argument should point to a \fBsize_t\fP variable.
PCRE2_INFO_LASTCODETYPE PCRE2_INFO_LASTCODETYPE
.sp .sp
Returns 1 if there is a rightmost literal code unit that must exist in any Returns 1 if there is a rightmost literal code unit that must exist in any
matched string, other than at its start. The third argument should point to a matched string, other than at its start. The third argument should point to a
\fBuint32_t\fP variable. If there is no such value, 0 is returned. When 1 is \fBuint32_t\fP variable. If there is no such value, 0 is returned. When 1 is
returned, the code unit value itself can be retrieved using returned, the code unit value itself can be retrieved using
PCRE2_INFO_LASTCODEUNIT. For anchored patterns, a last literal value is PCRE2_INFO_LASTCODEUNIT. For anchored patterns, a last literal value is
@ -3584,7 +3584,7 @@ and force lower case. The escape sequences change the current state: \eU and
terminating a \eQ quoted sequence) reverts to no case forcing. The sequences terminating a \eQ quoted sequence) reverts to no case forcing. The sequences
\eu and \el force the next character (if it is a letter) to upper or lower \eu and \el force the next character (if it is a letter) to upper or lower
case, respectively, and then the state automatically reverts to no case case, respectively, and then the state automatically reverts to no case
forcing. Case forcing applies to all inserted characters, including those from forcing. Case forcing applies to all inserted characters, including those from
capture groups and letters within \eQ...\eE quoted sequences. If either capture groups and letters within \eQ...\eE quoted sequences. If either
PCRE2_UTF or PCRE2_UCP was set when the pattern was compiled, Unicode PCRE2_UTF or PCRE2_UCP was set when the pattern was compiled, Unicode
properties are used for case forcing characters whose code points are greater properties are used for case forcing characters whose code points are greater

View File

@ -2186,10 +2186,10 @@ be easier to remember:
.sp .sp
(*atomic:\ed+)foo (*atomic:\ed+)foo
.sp .sp
This kind of parenthesized group "locks up" the part of the pattern it This kind of parenthesized group "locks up" the part of the pattern it contains
contains once it has matched, and a failure further into the pattern is once it has matched, and a failure further into the pattern is prevented from
prevented from backtracking into it. Backtracking past it to previous items, backtracking into it. Backtracking past it to previous items, however, works as
however, works as normal. normal.
.P .P
An alternative description is that a group of this type matches exactly the An alternative description is that a group of this type matches exactly the
string of characters that an identical standalone pattern would match, if string of characters that an identical standalone pattern would match, if