Function: consult--regexp-filter

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

Signature

(consult--regexp-filter REGEXPS)

Documentation

Create filter regexp from REGEXPS.

Source Code

;; Defined in ~/.emacs.d/elpa/consult-20260805.1130/consult.el
(defun consult--regexp-filter (regexps)
  "Create filter regexp from REGEXPS."
  (if (stringp regexps)
      regexps
    (mapconcat (lambda (x) (concat "\\(?:" x "\\)")) regexps "\\|")))