Function: orderless--filter
orderless--filter is a byte-compiled function defined in orderless.el.
Signature
(orderless--filter PREFIX REGEXPS IGNORE-CASE TABLE PRED)
Documentation
Filter TABLE by PREFIX, REGEXPS and PRED.
The matching should be case-insensitive if IGNORE-CASE is non-nil.
Source Code
;; Defined in ~/.emacs.d/elpa/orderless-20260519.1029/orderless.el
(defun orderless--filter (prefix regexps ignore-case table pred)
"Filter TABLE by PREFIX, REGEXPS and PRED.
The matching should be case-insensitive if IGNORE-CASE is non-nil."
;; If there is a regexp of the form \`quoted-regexp then
;; remove the first such and add the unquoted form to the prefix.
(pcase (cl-loop for r in regexps
thereis (orderless--literal-prefix-p r))
(`(,regexp . ,literal)
(setq prefix (concat prefix literal)
regexps (remove regexp regexps))))
(let ((completion-regexp-list regexps)
(completion-ignore-case ignore-case))
(all-completions prefix table pred)))