Hacker News new | past | comments | ask | show | jobs | submit
`grep -P` kinda annoying. GNU has Perl-compatible regex, and BSD does not. You're reaching for `perl` or installing `ggrep` the moment you need a lookbehind.
BSD grep is the pure grep version though. Perl regex is unnecessary bloat.