summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tidal_dl_ng/helper/gui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tidal_dl_ng/helper/gui.py b/tidal_dl_ng/helper/gui.py
index 0506491..855f01e 100644
--- a/tidal_dl_ng/helper/gui.py
+++ b/tidal_dl_ng/helper/gui.py
@@ -191,7 +191,7 @@ class HumanProxyModel(QtCore.QSortFilterProxyModel):
data = ix.data()
# Append results to list to enable an AND operator for filtering.
- result.append(bool(text.lower() in str(data).lower()))
+ result.append(bool(re.search(rf"{text}", data, re.MULTILINE | re.IGNORECASE)))
# If no filter set, just set the result to True.
if not result: