diff options
-rw-r--r-- | TODO.md | 1 | ||||
-rw-r--r-- | packages/finder/plugin/searcher/file/name.py | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -55,6 +55,7 @@ * [ ] Follow/unfollow symlinks. * [ ] Editing mode. * [ ] Prompt string. + * [ ] Case sensitivity. * [ ] Numeric: * [ ] Refresh interval. * [ ] Terminal size polling interval. 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) |