Here's the patch that automatically detects if grep supports the Perl regex.
Attachment: 0008-automatic-detect-if-grep-support-perl-regex.patch Description: Binary data
-- regards Thomas