Function: consult--default-regexp-compiler
consult--default-regexp-compiler is a byte-compiled function defined
in consult.el.
Signature
(consult--default-regexp-compiler INPUT TYPE IGNORE-CASE)
Documentation
Compile a string to a list of regular expressions.
See consult--compile-regexp for INPUT, TYPE and IGNORE-CASE.
Source Code
;; Defined in ~/.emacs.d/elpa/consult-20260805.1130/consult.el
(defun consult--default-regexp-compiler (input type ignore-case)
"Compile a string to a list of regular expressions.
See `consult--compile-regexp' for INPUT, TYPE and IGNORE-CASE."
(setq input (consult--split-escaped input))
(cons (mapcar (lambda (x) (consult--convert-regexp x type)) input)
(when-let* ((regexps (seq-filter #'consult--valid-regexp-p input)))
(apply-partially #'consult--highlight-regexps regexps ignore-case))))