It uses an external library called pcre, and I think the feature is not always compiled in grep.
If you want to use real perl expressions with grep, an alternative to gnu grep is to use one of the several grep clones implemented in perl, such as mine.
In reply to Re: grep -P
by ambrus
in thread grep -P
by tomazos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |