09-07-2023, 09:20 PM
Moode 8.3.6 introduced support for the comparison operators == and != for all the fields of the Library Advanced Search. Thanks for this update which greatly improves the flexibility of the search function.
Idea: Flexibility could be taken even further by additionally adding support for the comparison operators =~ and !~ which enable pattern matching via regular expressions (https://en.wikipedia.org/wiki/Regular_ex...c_concepts). Note that the syntax is actually the same as for == and !=, so the implementation should in principle be straightforward (see https://mpd.readthedocs.io/en/latest/pro...ml#filters).
Thanks & best regards
Jens
Idea: Flexibility could be taken even further by additionally adding support for the comparison operators =~ and !~ which enable pattern matching via regular expressions (https://en.wikipedia.org/wiki/Regular_ex...c_concepts). Note that the syntax is actually the same as for == and !=, so the implementation should in principle be straightforward (see https://mpd.readthedocs.io/en/latest/pro...ml#filters).
Thanks & best regards
Jens