From 94b185bb738e063bcc387e31b39dcd041f283766 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Tue, 26 Nov 2019 11:45:44 +0100 Subject: patterns: Implement ?narrow(...), as ?any-version(?and(...)) This is pure syntactic sugar - ?narrow does not exist in the abstract syntax. --- doc/apt-patterns.7.xml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc') diff --git a/doc/apt-patterns.7.xml b/doc/apt-patterns.7.xml index 102ed3901..c2549f620 100644 --- a/doc/apt-patterns.7.xml +++ b/doc/apt-patterns.7.xml @@ -69,6 +69,9 @@ Selects any version where the pattern matches on the version. For example, while ?and(?version(1),?version(2)) matches a package which has one version containing 1 and one version containing 2, ?any-version(?and(?version(1),?version(2))) restricts the ?and to act on the same version. + ?narrow(PATTERN...) + Selects any version matching all PATTERNs, short for?any-version(?and(PATTERN...)). + @@ -181,6 +184,9 @@ A trailing comma is allowed in argument lists + + ?narrow accepts infinite arguments + -- cgit v1.2.3