diff options
author | 2014-08-27 21:41:14 -0400 | |
---|---|---|
committer | 2014-08-27 21:41:14 -0400 | |
commit | 534b6905687bbc5d523e5464b7be4fb58f338acd (patch) | |
tree | db83370b248210bafc29dfe071617b7eb0166a4d | |
parent | util: change return value of startswith() to non-const (diff) | |
download | eudev-534b6905687bbc5d523e5464b7be4fb58f338acd.tar.gz eudev-534b6905687bbc5d523e5464b7be4fb58f338acd.tar.bz2 eudev-534b6905687bbc5d523e5464b7be4fb58f338acd.zip |
Document "...|..." udev match syntax
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
-rw-r--r-- | man/udev.xml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/man/udev.xml b/man/udev.xml index 96867a345..d4a5bedfd 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> |