Function: consult--default-regexp-compiler
consult--default-regexp-compiler is a natively 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 /nix/store/6higv2v1wk916v4ynnybyrdkfy2gq44d-emacs-packages-deps/share/emacs/site-lisp/elpa/consult-20261004.957/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))))