Function: consult--regexp-filter

consult--regexp-filter is a natively compiled function defined in consult.el.

Signature

(consult--regexp-filter REGEXPS)

Documentation

Create filter regexp from REGEXPS.

Source Code

;; Defined in /nix/store/6higv2v1wk916v4ynnybyrdkfy2gq44d-emacs-packages-deps/share/emacs/site-lisp/elpa/consult-20261004.957/consult.el
(defun consult--regexp-filter (regexps)
  "Create filter regexp from REGEXPS."
  (if (stringp regexps)
      regexps
    (mapconcat (lambda (x) (concat "\\(?:" x "\\)")) regexps "\\|")))