summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-11-12 12:41:29 +0100
committerMax Kellermann <max@musicpd.org>2018-11-12 12:49:01 +0100
commit060908d5c44ba54e0871a83973245ff44dc52103 (patch)
tree3dd3adea4f1eafd3ceb385fd409ef4254cf24481 /doc
parent0b0f4c61f1d54eeb3a38ab04dd1757b527ae0179 (diff)
song/Filter: add operator "contains"
Closes #410
Diffstat (limited to 'doc')
-rw-r--r--doc/protocol.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/protocol.rst b/doc/protocol.rst
index 4818b55fb..e0d750f29 100644
--- a/doc/protocol.rst
+++ b/doc/protocol.rst
@@ -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