Axel Beckert ⌨🐧🐪🚴😷 XTaran on Nostr: #TIL: #udev mixes #regexp syntax and shell #wildcard syntax for their rules matching: ...
#TIL: #udev mixes #regexp syntax and shell #wildcard syntax for their rules matching: asterisk and question mark work like wildcards, but pipe like in regular expressions. There are no parentheses to group alternative blocks, though. 🤮 Thanks #systemd folks for not using standards. 🤌
#regex
Published at
2024-06-06 07:19:27Event JSON
{
"id": "c775ed3124758b8dd52f4cebdc41c0b1e6ce46a990c23bf1528cdce8bc3ad757",
"pubkey": "ea46c68a6fb7afc7bf913656260d0a3a2bd027b098507c7735d71f01515ac46f",
"created_at": 1717658367,
"kind": 1,
"tags": [
[
"t",
"til"
],
[
"t",
"udev"
],
[
"t",
"regexp"
],
[
"t",
"wildcard"
],
[
"t",
"systemd"
],
[
"t",
"regex"
],
[
"proxy",
"https://chaos.social/users/xtaran/statuses/112568458756367469",
"activitypub"
]
],
"content": "#TIL: #udev mixes #regexp syntax and shell #wildcard syntax for their rules matching: asterisk and question mark work like wildcards, but pipe like in regular expressions. There are no parentheses to group alternative blocks, though. 🤮 Thanks #systemd folks for not using standards. 🤌\n\n#regex",
"sig": "db95432eb5f53bf202d2235315d65699766ccc95f2b5fc576fc8921a33000f2b26baa8b9c46b25d47b6bb277f95e92cd3d504adc0cb831e6ac30dd16ab1232f9"
}