diff --git a/mopidy/frontends/mpd/protocol/music_db.py b/mopidy/frontends/mpd/protocol/music_db.py index b52969bf..e1d718c0 100644 --- a/mopidy/frontends/mpd/protocol/music_db.py +++ b/mopidy/frontends/mpd/protocol/music_db.py @@ -45,6 +45,7 @@ SEARCH_FIELDS = r""" | [Tt]rack """ +# TODO Would be nice to get ("?)...\1 working for the quotes here SEARCH_QUERY = r""" (?P (?: # Non-capturing group for repeating query pairs @@ -61,6 +62,7 @@ SEARCH_QUERY = r""" $ """ +# TODO Would be nice to get ("?)...\1 working for the quotes here SEARCH_PAIR_WITHOUT_GROUPS = r""" \b # Only begin matching at word bundaries "? # Optional quote around the field type @@ -74,6 +76,7 @@ SEARCH_PAIR_WITHOUT_GROUPS = r""" SEARCH_PAIR_WITHOUT_GROUPS_RE = re.compile( SEARCH_PAIR_WITHOUT_GROUPS, flags=(re.UNICODE | re.VERBOSE)) +# TODO Would be nice to get ("?)...\1 working for the quotes here SEARCH_PAIR_WITH_GROUPS = r""" \b # Only begin matching at word bundaries "? # Optional quote around the field type