Hacker News new | ask | show | jobs
by lancebeet 1521 days ago
I was also curious about this as I use grep -P (for PCRE regexes) if I need to use them. Looking at the manual, lookaheads and lookbehinds don't seem to be supported by regular gnu grep or grep -E, so you do need to use grep -P for them.

https://www.gnu.org/software/grep/manual/grep.pdf