commit: 5fd849af91969bf6262004ff59cc65ac5c40811c
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue May 22 17:03:39 2018 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue May 22 17:03:39 2018 +0000
URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=5fd849af
pkg-mgr-commands.tex: Two small fixes for version commands.
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.