3 ms·
GNU grep supports Perl regexp with -P
by influx 3y ago
GNU grep supports Perl regexp with -P
- mwpmaybe 3y agoAs does git grep!
- 1letterunixname 3y agoUsing PCRE2, which doesn't behave exactly the same as Perl or PCRE1. https://pcre.org/current/doc/html/pcre2compat.html https://pcre.org/current/doc/html/pcre2compat.html https://en.wikipedia.org/wiki/Perl_Compatible_Regular_Expressions https://en.wikipedia.org/wiki/Perl_Compatible_Regular_Expres... https://stackoverflow.com/questions/70273084/regex-differences-between-pcre-and-pcre2 https://stackoverflow.com/questions/70273084/regex-differenc...