Function: orderless-flex

orderless-flex is a byte-compiled function defined in orderless.el.

Signature

(orderless-flex COMPONENT)

Documentation

Match a component in flex style.

This means the characters in COMPONENT must occur in the candidate in that order, but not necessarily consecutively.

Source Code

;; Defined in ~/.emacs.d/elpa/orderless-20260519.1029/orderless.el
(defun orderless-flex (component)
  "Match a component in flex style.
This means the characters in COMPONENT must occur in the
candidate in that order, but not necessarily consecutively."
  `(seq
    ,@(cdr (cl-loop for char across component
                    append `((zero-or-more (not ,char)) (group ,char))))))