Valid characters in /sys/class/rfkill/rfkill[0-9]+/name
I'm trying to write a regular expression to match an rfkill device name. The device name could for example be phy0 and can normally be found in /sys/class/rfkill/rfkill[0-9]+/name.
In order to write this regular expression I need to know the possible characters in an rfkill device name found in /sys/class/rfkill/rfkill[0-9]+/name. kernel.org tells us that the name is an arbitrary string (https://www.kernel.org/doc/Documenta...s-class-rfkill). Is it then wrong to assume that this string could be made up of any character (for example even :^❤ ☀ ☆ ☂ ☻ ♞ ☯ ☭ ☢ €)? Thanks in advance! |
Quote:
Code:
[liveuser@localhost lq-iso]$ ll /sys/class/rfkill/rfkill[0-9]*/name Quote:
|
All times are GMT -5. The time now is 05:09 AM. |