summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorAndrei Borzenkov <arvidjaar@gmail.com>2014-08-24 11:11:33 +0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-08-27 01:00:56 -0400
commitbf2e0ece853b888eb37055849975ddeab3f5f051 (patch)
tree5ae38f676d2e9779783be5ad0668e091700d9b1d /man
parent36f5ace2db7fc43796107b2da9874e4c4bbc623e (diff)
Document "...|..." udev match syntax
Diffstat (limited to 'man')
-rw-r--r--man/udev.xml12
1 files changed, 10 insertions, 2 deletions
diff --git a/man/udev.xml b/man/udev.xml
index db729378c5..2948b9ce2b 100644
--- a/man/udev.xml
+++ b/man/udev.xml
@@ -272,8 +272,8 @@
</varlistentry>
</variablelist>
- <para>Most of the fields support shell glob pattern matching. The following
- pattern characters are supported:</para>
+ <para>Most of the fields support shell glob pattern matching and
+ alternate patterns. The following special characters are supported:</para>
<variablelist>
<varlistentry>
<term><literal>*</literal></term>
@@ -300,6 +300,14 @@
any characters not enclosed are matched.</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><literal>|</literal></term>
+ <listitem>
+ <para>Separates alternative patterns. For example, the pattern string
+ <literal>abc|x*</literal> would match either <literal>abc</literal>
+ or <literal>x*</literal>.</para>
+ </listitem>
+ </varlistentry>
</variablelist>
<para>The following keys can get values assigned:</para>