Function: consult--grep-lookahead-p
consult--grep-lookahead-p is a byte-compiled function defined in
consult.el.
Signature
(consult--grep-lookahead-p &rest CMD)
Documentation
Return t if grep CMD supports look-ahead.
Source Code
;; Defined in ~/.emacs.d/elpa/consult-20260805.1130/consult.el
(defun consult--grep-lookahead-p (&rest cmd)
"Return t if grep CMD supports look-ahead."
(eq 0 (process-file-shell-command
(concat "echo xaxbx | "
(mapconcat #'shell-quote-argument `(,@cmd "^(?=.*b)(?=.*a)") " ")))))