From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DF749138334 for ; Fri, 8 Jun 2018 12:04:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 00985E0933; Fri, 8 Jun 2018 12:02:21 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0A9CEE0933 for ; Fri, 8 Jun 2018 12:02:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CF7A3335CB5 for ; Fri, 8 Jun 2018 12:02:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7D48F75 for ; Fri, 8 Jun 2018 12:02:18 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1527008619.5fd849af91969bf6262004ff59cc65ac5c40811c.ulm@gentoo> Subject: [gentoo-commits] proj/pms:master commit in: / X-VCS-Repository: proj/pms X-VCS-Files: pkg-mgr-commands.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 5fd849af91969bf6262004ff59cc65ac5c40811c X-VCS-Branch: master Date: Fri, 8 Jun 2018 12:02:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f998c975-30eb-4f21-af8e-4bad420e1c3a X-Archives-Hash: 0b4ed4b5a919fb20d5f0edc171d2fe97 commit: 5fd849af91969bf6262004ff59cc65ac5c40811c Author: Ulrich Müller gentoo org> AuthorDate: Tue May 22 17:03:39 2018 +0000 Commit: Ulrich Müller gentoo 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.