]> git.ipfire.org Git - thirdparty/man-pages.git/commit
grepc: Consistently use Perl regex
authorAlejandro Colomar <alx.manpages@gmail.com>
Sun, 8 May 2022 21:52:23 +0000 (23:52 +0200)
committerAlejandro Colomar <alx@kernel.org>
Wed, 29 Oct 2025 20:28:47 +0000 (21:28 +0100)
commit84af8072908f7a88a014187cf7b6b16011312032
treeb8b2a17393526cac4f319b5e559c1037f558e14d
parent76c49f34dd12780a00a9a86a9a3e357c8224cffa
grepc: Consistently use Perl regex

If we use different regex types within the program, then users
can't use regex patterns in the identifier due to
incompatibilities.  Let's use Perl regex everywhere we can, so
that users can consistently use Perl regex patterns in the
identifier.  Example:

$ grepc (vf|as)printf;

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
bin/grepc