Skip to content

Commit

Permalink
Fix very minor typos in documentation: redundant spaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipHazel committed Oct 30, 2021
1 parent 35fee41 commit 072717a
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 44 deletions.
4 changes: 2 additions & 2 deletions doc/html/pcre2api.html
Original file line number Diff line number Diff line change
Expand Up @@ -2316,7 +2316,7 @@ <h1>pcre2api man page</h1>
PCRE2_INFO_LASTCODETYPE
</pre>
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
returned, the code unit value itself can be retrieved using
PCRE2_INFO_LASTCODEUNIT. For anchored patterns, a last literal value is
Expand Down Expand Up @@ -3583,7 +3583,7 @@ <h1>pcre2api man page</h1>
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
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
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
Expand Down
8 changes: 4 additions & 4 deletions doc/html/pcre2pattern.html
Original file line number Diff line number Diff line change
Expand Up @@ -2180,10 +2180,10 @@ <h1>pcre2pattern man page</h1>
<pre>
(*atomic:\d+)foo
</pre>
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
prevented from backtracking into it. Backtracking past it to previous items,
however, works as normal.
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 prevented from
backtracking into it. Backtracking past it to previous items, however, works as
normal.
</P>
<P>
An alternative description is that a group of this type matches exactly the
Expand Down
64 changes: 32 additions & 32 deletions doc/pcre2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ REVISION
Last updated: 27 August 2021
Copyright (c) 1997-2021 University of Cambridge.
------------------------------------------------------------------------------


This comment has been minimized.

Copy link
@elfring

elfring Oct 30, 2021

💭 How does the addition of such space characters fit to the commit subject?

This comment has been minimized.

Copy link
@floam

floam Nov 6, 2021

git show is your friend :)

PCRE2API(3) Library Functions Manual PCRE2API(3)


Expand Down Expand Up @@ -3459,7 +3459,7 @@ CREATING A NEW STRING WITH SUBSTITUTIONS
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
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-

This comment has been minimized.

Copy link
@elfring

elfring Oct 30, 2021

  • Are any spaces still redundant here?
  • Would any justification be involved in such text?
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
case forcing characters whose code points are greater than 127.
Expand Down Expand Up @@ -3851,8 +3851,8 @@ REVISION
Last updated: 30 August 2021
Copyright (c) 1997-2021 University of Cambridge.
------------------------------------------------------------------------------


PCRE2BUILD(3) Library Functions Manual PCRE2BUILD(3)


Expand Down Expand Up @@ -4447,8 +4447,8 @@ REVISION
Last updated: 20 March 2020
Copyright (c) 1997-2020 University of Cambridge.
------------------------------------------------------------------------------


PCRE2CALLOUT(3) Library Functions Manual PCRE2CALLOUT(3)


Expand Down Expand Up @@ -4877,8 +4877,8 @@ REVISION
Last updated: 03 February 2019
Copyright (c) 1997-2019 University of Cambridge.
------------------------------------------------------------------------------


PCRE2COMPAT(3) Library Functions Manual PCRE2COMPAT(3)


Expand Down Expand Up @@ -5092,8 +5092,8 @@ REVISION
Last updated: 30 August 2021
Copyright (c) 1997-2021 University of Cambridge.
------------------------------------------------------------------------------


PCRE2JIT(3) Library Functions Manual PCRE2JIT(3)


Expand Down Expand Up @@ -5518,8 +5518,8 @@ REVISION
Last updated: 23 May 2019
Copyright (c) 1997-2019 University of Cambridge.
------------------------------------------------------------------------------


PCRE2LIMITS(3) Library Functions Manual PCRE2LIMITS(3)


Expand Down Expand Up @@ -5588,8 +5588,8 @@ REVISION
Last updated: 02 February 2019
Copyright (c) 1997-2019 University of Cambridge.
------------------------------------------------------------------------------


PCRE2MATCHING(3) Library Functions Manual PCRE2MATCHING(3)


Expand Down Expand Up @@ -5813,8 +5813,8 @@ REVISION
Last updated: 28 August 2021
Copyright (c) 1997-2021 University of Cambridge.
------------------------------------------------------------------------------


PCRE2PARTIAL(3) Library Functions Manual PCRE2PARTIAL(3)


Expand Down Expand Up @@ -6193,8 +6193,8 @@ REVISION
Last updated: 04 September 2019
Copyright (c) 1997-2019 University of Cambridge.
------------------------------------------------------------------------------


PCRE2PATTERN(3) Library Functions Manual PCRE2PATTERN(3)


Expand Down Expand Up @@ -8068,7 +8068,7 @@ ATOMIC GROUPING AND POSSESSIVE QUANTIFIERS

(*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
prevented from backtracking into it. Backtracking past it to previous
items, however, works as normal.
Expand Down Expand Up @@ -9643,8 +9643,8 @@ REVISION
Last updated: 30 August 2021
Copyright (c) 1997-2021 University of Cambridge.
------------------------------------------------------------------------------


PCRE2PERFORM(3) Library Functions Manual PCRE2PERFORM(3)


Expand Down Expand Up @@ -9878,8 +9878,8 @@ REVISION
Last updated: 03 February 2019
Copyright (c) 1997-2019 University of Cambridge.
------------------------------------------------------------------------------


PCRE2POSIX(3) Library Functions Manual PCRE2POSIX(3)


Expand Down Expand Up @@ -10212,8 +10212,8 @@ REVISION
Last updated: 26 April 2021
Copyright (c) 1997-2021 University of Cambridge.
------------------------------------------------------------------------------


PCRE2SAMPLE(3) Library Functions Manual PCRE2SAMPLE(3)


Expand Down Expand Up @@ -10491,8 +10491,8 @@ REVISION
Last updated: 27 June 2018
Copyright (c) 1997-2018 University of Cambridge.
------------------------------------------------------------------------------


PCRE2SYNTAX(3) Library Functions Manual PCRE2SYNTAX(3)


Expand Down Expand Up @@ -11011,8 +11011,8 @@ REVISION
Last updated: 30 August 2021
Copyright (c) 1997-2021 University of Cambridge.
------------------------------------------------------------------------------


PCRE2UNICODE(3) Library Functions Manual PCRE2UNICODE(3)


Expand Down Expand Up @@ -11446,5 +11446,5 @@ REVISION
Last updated: 23 February 2020
Copyright (c) 1997-2020 University of Cambridge.
------------------------------------------------------------------------------


4 changes: 2 additions & 2 deletions doc/pcre2api.3
Original file line number Diff line number Diff line change
Expand Up @@ -2279,7 +2279,7 @@ return zero. The third argument should point to a \fBsize_t\fP variable.
PCRE2_INFO_LASTCODETYPE
.sp
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
returned, the code unit value itself can be retrieved using
PCRE2_INFO_LASTCODEUNIT. For anchored patterns, a last literal value is
Expand Down Expand Up @@ -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
\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
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
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
Expand Down
8 changes: 4 additions & 4 deletions doc/pcre2pattern.3
Original file line number Diff line number Diff line change
Expand Up @@ -2186,10 +2186,10 @@ be easier to remember:
.sp
(*atomic:\ed+)foo
.sp
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
prevented from backtracking into it. Backtracking past it to previous items,
however, works as normal.
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 prevented from
backtracking into it. Backtracking past it to previous items, however, works as
normal.
.P
An alternative description is that a group of this type matches exactly the
string of characters that an identical standalone pattern would match, if
Expand Down

0 comments on commit 072717a

Please sign in to comment.