Skip to content

Style modifiers

Style modifiers are functions which take a predicate function and a regular expression as a string and return a new predicate function. Style modifiers should not be used directly in ‘orderless-matching-styles’ but with a style dispatcher instead.

orderless-annotation

this style modifier matches the pattern against the annotation string of the candidate, instead of against the candidate string.

orderless-not

this style modifier inverts the pattern, such that candidates pass which do not match the pattern.