Re:Bash patterns I use weekly
by marginalia_nu on Tuesday November 23, 2021 @03:24PM
(#29322941)
I think what we really need is one regex format. You have POSIX, PCRE, and also various degrees of needing to double-escape the slashes to get past whatever language you're using the regex in. Always adds a large element of guesswork even when you are familiar with regular expressions.
[ Parent
| on HN ]
Re:Bash patterns I use weekly
by Something1234 on Tuesday November 23, 2021 @11:42PM
(#29326987)
Re:Bash patterns I use weekly
by marginalia_nu on Wednesday November 24, 2021 @05:47AM
(#29328728)
Yeah I know all these dialects, the question is, which is the one I'm supposed to use for (this tool)?
> I think what we really need is one regex format.
See https://xkcd.com/927/ How standards proliferate