15.3. Regular Expressions in Keys

Regular expressions, such as wild cards, can be used in the shell. For example, the character * can be used as a placeholder for any characters or ? can be used for precisely one character.

KERNEL="ts*", NAME="input/%k"

This rule assigns the standard kernel name in the standard directory to a device whose designation begins with the letters "ts". Detailed information about the use of regular expressions in udev rules can be found in the man page man udev.