Zbigniew Jędrzejewski-Szmek [off-list ref] writes:
From: Michał Kiedrowicz <redacted>
When a fix for matching ^ and $ with -P was commited to master in
fba4f1 (grep -P: Fix matching ^ and $), the tests were missing the
LIBPCRE prerequisite check and were dropped from the patch. Here are
the tests guarded with LIBPCRE.
Thanks.
The real reason I separated it was because I didn't want to worry about
the test part when merging this down to older maintenance releases.