Variable: orderless-matching-styles

orderless-matching-styles is a customizable variable defined in orderless.el.

Value

(orderless-literal orderless-regexp)

Documentation

List of component matching styles.

If this variable is nil, regexp matching is assumed.

A matching style is simply a function from strings to regexps. The returned regexps can be either strings or s-expressions in rx syntax. If the resulting regexp has no capturing groups, the entire match is highlighted, otherwise just the captured groups are. Several are provided with this package: try customizing this variable to see a list of them.

Source Code

;; Defined in ~/.emacs.d/elpa/orderless-20260519.1029/orderless.el
(defcustom orderless-matching-styles
  (list #'orderless-literal #'orderless-regexp)
  "List of component matching styles.
If this variable is nil, regexp matching is assumed.

A matching style is simply a function from strings to regexps.
The returned regexps can be either strings or s-expressions in
`rx' syntax.  If the resulting regexp has no capturing groups,
the entire match is highlighted, otherwise just the captured
groups are.  Several are provided with this package: try
customizing this variable to see a list of them."
  :type '(repeat function)
  :options (list #'orderless-regexp
                 #'orderless-literal
                 #'orderless-initialism
                 #'orderless-prefixes
                 #'orderless-flex))