summaryrefslogtreecommitdiff
path: root/doc/apt-patterns.7.xml
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2019-08-21 22:13:27 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2019-11-25 11:32:19 +0100
commit8428114608627fe0a08dcf1589931f6db025f0b4 (patch)
treeef9b08a5ead347d47418046001f5f7d2b4aa09f3 /doc/apt-patterns.7.xml
parent887b07aa284af75516fbf54e3db88acbf7e51b0c (diff)
patterns: Add ?version
Diffstat (limited to 'doc/apt-patterns.7.xml')
-rw-r--r--doc/apt-patterns.7.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/apt-patterns.7.xml b/doc/apt-patterns.7.xml
index efd4293dc..780d13d2e 100644
--- a/doc/apt-patterns.7.xml
+++ b/doc/apt-patterns.7.xml
@@ -106,6 +106,17 @@
</varlistentry>
</variablelist>
</refsect1>
+ <refsect1>
+ <title>Version patterns</title>
+ <para>
+ These patterns select specific versions of a package.
+ </para>
+ <variablelist>
+ <varlistentry><term><code>?version(REGEX)</code></term>
+ <listitem><para>Selects versions where the version string matching the specified regular expression.</para></listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect1>
<refsect1><title>Examples</title>