song/StringFilter: support regular expressions with "=~" and "!~"
This feature requires `libpcre`.
This commit is contained in:
@@ -157,6 +157,11 @@ of:
|
||||
and are case-sensitive; the `search`
|
||||
commands specify a sub string and ignore case.
|
||||
|
||||
- ``(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
|
||||
:file:`libpcre`)
|
||||
|
||||
- ``(file == 'VALUE')``: match the full song URI
|
||||
(relative to the music directory).
|
||||
|
||||
|
@@ -67,6 +67,7 @@ For example, the following installs a fairly complete list of build dependencies
|
||||
.. code-block:: none
|
||||
|
||||
apt install g++ \
|
||||
libpcre3-dev \
|
||||
libmad0-dev libmpg123-dev libid3tag0-dev \
|
||||
libflac-dev libvorbis-dev libopus-dev \
|
||||
libadplug-dev libaudiofile-dev libsndfile1-dev libfaad-dev \
|
||||
|
Reference in New Issue
Block a user