song/Filter: add operator "contains"

Closes #410
This commit is contained in:
Max Kellermann
2018-11-12 12:41:29 +01:00
parent 0b0f4c61f1
commit 060908d5c4
4 changed files with 21 additions and 1 deletions

View File

@@ -154,6 +154,9 @@ of:
``AlbumArtist`` does not exist.
``VALUE`` is what to find.
- ``(TAG contains 'VALUE')`` checks if the given value is a substring
of the tag value.
- ``(TAG =~ 'VALUE')`` and ``(TAG !~ 'VALUE')`` use a Perl-compatible
regular expression instead of doing a simple string comparison.
(This feature is only available if :program:`MPD` was compiled with