textual.fuzzy
Fuzzy matcher.
This class is used by the command palette to match search terms.
FuzzySearch
¶
FuzzySearch(case_sensitive=False)
Matcher
¶
Matcher(query, *, match_style=None, case_sensitive=False)
A fuzzy matcher.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
|
str
|
A query as typed in by the user. |
required |
|
Style | None
|
The style to use to highlight matched portions of a string. |
None
|
|
bool
|
Should matching be case sensitive? |
False
|