zpcregrep

grep utility that uses perl 5 compatible regexes.

Install

All systems
curl cmd.cat/zpcregrep.sh
Debian Debian
apt-get install pcregrep
Ubuntu
apt-get install pcregrep
image/svg+xml Kali Linux
apt-get install pcregrep
Windows (WSL2)
sudo apt-get update sudo apt-get install pcregrep
Raspbian
apt-get install pcregrep

pcregrep

grep utility that uses perl 5 compatible regexes.

Perl-style regexps have many useful features that the standard POSIX ones don't; this is basically the same as grep but with the different regexp syntax. The other reason for the existence of pcregrep is that its source code is an example of programming with libpcre.