Function: hypb:grep-has-pcre-p
hypb:grep-has-pcre-p is a byte-compiled function defined in hypb.el.
Signature
(hypb:grep-has-pcre-p)
Documentation
Return t if grep supports the -P option, pcre Perl-style regexps.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hypb.el
(defun hypb:grep-has-pcre-p ()
"Return t if grep supports the -P option, pcre Perl-style regexps."
(eq 0 (shell-command "echo '' | grep -P '' > /dev/null 2>&1")))