Commit 0b0f4c61 authored by Max Kellermann's avatar Max Kellermann

doc/protocol.rst: remove documentation about `==` matching substrings

I added this sentence in commit 5271e81e, but this was merely documented the legacy status quo, which has always been undocumented for old-style filters. But for new filters, using "==" for sub strings was a surprising "feature", which I removed in commit ac0852b4.
parent 228bf7eb
......@@ -152,10 +152,7 @@ of:
``VALUE`` in ``AlbumArtist``
and falls back to ``Artist`` tags if
``AlbumArtist`` does not exist.
``VALUE`` is what to find. The
`find` commands specify an exact value
and are case-sensitive; the `search`
commands specify a sub string and ignore case.
``VALUE`` is what to find.
- ``(TAG =~ 'VALUE')`` and ``(TAG !~ 'VALUE')`` use a Perl-compatible
regular expression instead of doing a simple string comparison.
......@@ -189,6 +186,9 @@ of:
be enclosed in parantheses, e.g. :code:`((artist == 'FOO') AND
(album == 'BAR'))`
The :command:`find` commands are case sensitive, which
:command:`search` and related commands ignore case.
Prior to MPD 0.21, the syntax looked like this::
find TYPE VALUE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment