diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-07-24 19:17:45 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-07-24 19:17:45 -0300 |
commit | a1eacb023782f2e4d9528833526f2090195c5a46 (patch) | |
tree | 241906d6e6674ef29666e0ea5ff0b4f3f9052f7c /packages | |
parent | f6928eabbf67dfc18a40fdd2a9ce99f55559d48b (diff) | |
download | finder-a1eacb023782f2e4d9528833526f2090195c5a46.tar.gz finder-a1eacb023782f2e4d9528833526f2090195c5a46.tar.bz2 |
Fix: case insensitivity
Diffstat (limited to 'packages')
-rw-r--r-- | packages/finder/plugin/searcher/file/name.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/finder/plugin/searcher/file/name.py b/packages/finder/plugin/searcher/file/name.py index 9d02173..4f4bd18 100644 --- a/packages/finder/plugin/searcher/file/name.py +++ b/packages/finder/plugin/searcher/file/name.py @@ -63,4 +63,4 @@ class FinderPluginFileNameSearcher(): if text == '' or text is None: return self.items - return filter(lambda s: re.match(".*" + re.escape(text) + ".*", s), self.items) + return filter(lambda s: re.search(re.escape(text), s, flags=re.IGNORECASE), self.items) |