summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>