diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2024-09-16 03:42:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-16 03:42:37 +0200 |
commit | 590f430cac197de22548562d22b216403eb4626a (patch) | |
tree | 53a78e363fe6d2e5d4d7e9b4589728bda713cdc9 /man | |
parent | basic/build: also include BTF status (diff) | |
parent | udev-rules: support case insensitive match (diff) | |
download | systemd-590f430cac197de22548562d22b216403eb4626a.tar.xz systemd-590f430cac197de22548562d22b216403eb4626a.zip |
Merge pull request #34425 from yuwata/udev-rules-case-insensitive-match
udev-rules: support case insensitive match
Diffstat (limited to 'man')
-rw-r--r-- | man/udev.xml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/man/udev.xml b/man/udev.xml index 6719c1b1c2..e6c0e23ed4 100644 --- a/man/udev.xml +++ b/man/udev.xml @@ -141,6 +141,12 @@ For example, e"string\n" is parsed as 7 characters: 6 lowercase letters and a newline. This can be useful for writing special characters when a kernel driver requires them.</para> + <para>The string can be prefixed with a lowercase i (i"string") to mark that the string or pattern + will match case-insensitively. For example, i"foo" will match + <literal>foo</literal>, <literal>FOO</literal>, <literal>FoO</literal> and so on. The prefix can be + used only for match (<literal>==</literal>) or unmatch (<literal>!=</literal>) rules, e.g. + <varname>ATTR{foo}==i"abcd"</varname>.</para> + <para>Please note that <constant>NUL</constant> is not allowed in either string variant.</para> </refsect2> |