Function: hypb:ripgrep-has-pcre-p

hypb:ripgrep-has-pcre-p is a byte-compiled function defined in hypb.el.

Signature

(hypb:ripgrep-has-pcre-p)

Documentation

Return t if rg supports pcre Perl-style regexps.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hypb.el
(defun hypb:ripgrep-has-pcre-p ()
  "Return t if rg supports pcre Perl-style regexps."
  (when (executable-find "rg")
    (eq 0 (shell-command "rg --pcre2-version > /dev/null 2>&1"))))