public inbox for gentoo-pms@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-pms] [PATCH] pkg-mgr-commands.tex: Two small fixes for version commands.
@ 2018-05-22 17:03 Ulrich Müller
  2018-06-08 12:02 ` [gentoo-pms] " Ulrich Mueller
  0 siblings, 1 reply; 2+ messages in thread
From: Ulrich Müller @ 2018-05-22 17:03 UTC (permalink / raw
  To: gentoo-pms

[-- Attachment #1: Type: text/plain, Size: 1724 bytes --]

Version separators can consist of several characters. Clarify this
in the regexp accordingly.

A range of components or separators is not a "range of versions".
Say "range" only, because the meaning is clear from context.
---
 pkg-mgr-commands.tex | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index 01c0c6d..be05322 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -930,7 +930,7 @@ a series of version components and version separators.
 
 A version component consists either purely of digits (\t{[0-9]+}) or purely of uppercase and
 lowercase ASCII letters (\t{[A-Za-z]+}). A version separator is either a string of any other
-characters (\t{[\textasciicircum A-Za-z0-9]}) or it occurs at the transition between a sequence
+characters (\t{[\textasciicircum A-Za-z0-9]+}), or it occurs at the transition between a sequence
 of digits and a sequence of letters, or vice versa. In the latter case, the version separator is
 an empty string.
 
@@ -948,8 +948,8 @@ followed by a hyphen (\t{-}), which in turn is optionally followed by another un
 
 A single integer specifies a single component or separator index. An integer followed by a hyphen
 specifies all components or separators starting with the one at the specified index. Two integers
-separated by a hyphen specify a range of versions starting at the index specified by the first
-and ending at the second, inclusively.
+separated by a hyphen specify a range starting at the index specified by the first and ending at
+the second, inclusively.
 
 \begin{description}
 \item[ver_cut] Takes a range as the first argument, and optionally a version string as the second.
-- 
2.17.0

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-pms] Re: [PATCH] pkg-mgr-commands.tex: Two small fixes for version commands.
  2018-05-22 17:03 [gentoo-pms] [PATCH] pkg-mgr-commands.tex: Two small fixes for version commands Ulrich Müller
@ 2018-06-08 12:02 ` Ulrich Mueller
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Mueller @ 2018-06-08 12:02 UTC (permalink / raw
  To: gentoo-pms

[-- Attachment #1: Type: text/plain, Size: 297 bytes --]

>>>>> On Tue, 22 May 2018, Ulrich Müller wrote:

> Version separators can consist of several characters. Clarify this
> in the regexp accordingly.

> A range of components or separators is not a "range of versions".
> Say "range" only, because the meaning is clear from context.

Pushed.

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-08 12:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-22 17:03 [gentoo-pms] [PATCH] pkg-mgr-commands.tex: Two small fixes for version commands Ulrich Müller
2018-06-08 12:02 ` [gentoo-pms] " Ulrich Mueller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox