summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorAndrei Borzenkov <arvidjaar@gmail.com>2014-08-27 21:41:14 -0400
committerAnthony G. Basile <blueness@gentoo.org>2014-08-27 21:41:14 -0400
commit534b6905687bbc5d523e5464b7be4fb58f338acd (patch)
treedb83370b248210bafc29dfe071617b7eb0166a4d /man
parentc1402fc74466c41f0c8663ceee1b96d7c2ccce84 (diff)
Document "...|..." udev match syntax
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'man')
-rw-r--r--man/udev.xml13
1 files changed, 11 insertions, 2 deletions
diff --git a/man/udev.xml b/man/udev.xml
index 96867a3457..d4a5bedfdd 100644
--- a/man/udev.xml
+++ b/man/udev.xml
@@ -273,8 +273,9 @@
</varlistentry>
</variablelist>
- <para>Most of the fields support shell-style 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 +301,14 @@
<literal>!</literal>, 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>