On 2023/11/15 16:13:04 +0100, "Daniele B." <my2...@has.im> wrote: > Testing regex for these "tiny tools" I noticed that both sed and grep have a > limited > support for regex syntax. In the case of grep I had to revert to pcregrep to > get something > better.
these tools by default use basic regexps (BRE). You need egrep(1) (or grep -E) and sed -E to get extended regexps (ERE).