by ydant · 2y ago · 0 comments
My brain thinks in Perl's regex language and then I have to translate the inconsistent bits to the language I'm using. Especially in the shell - I'm way more likely to just drop a perl into the pipeline instead of trying to remember how sed/grep/awk (GNU or BSD?) prefer their regex.
> Perl is kind of designed to make awk and sed semi-obsolete.
https://pcre.org/current/doc/html/pcre2compat.html
https://en.wikipedia.org/wiki/Perl_Compatible_Regular_Expres...
https://stackoverflow.com/questions/70273084/regex-differenc...