mirror of
https://github.com/beetbox/beets.git
synced 2025-12-24 01:25:47 +01:00
Detail on example (#1794)
This commit is contained in:
parent
d064f19129
commit
dd66ca51f9
1 changed files with 2 additions and 1 deletions
|
|
@ -77,7 +77,8 @@ def parse_query_part(part, query_classes={}, prefixes={},
|
|||
For example, assuming the `:` prefix is used for `RegexpQuery`:
|
||||
- `'stapler'` -> `(None, 'stapler', SubstringQuery, False)`
|
||||
- `'color:red'` -> `('color', 'red', SubstringQuery, False)`
|
||||
- `':^Quiet'` -> `(None, '^Quiet', RegexpQuery, False)`
|
||||
- `':^Quiet'` -> `(None, '^Quiet', RegexpQuery, False)`, because
|
||||
the `^` follows the `:`
|
||||
- `'color::b..e'` -> `('color', 'b..e', RegexpQuery, False)`
|
||||
- `'-color:red'` -> `('color', 'red', SubstringQuery, True)`
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue