about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authornfnty <git@nfnty.se>2017-01-15 23:11:46 +0100
committernfnty <git@nfnty.se>2017-01-15 23:11:46 +0100
commitec3434a289d03890f0701ade9b053046e8797695 (patch)
tree2ed00f6e253d6e9417b6f6e588f7c13c7dd39f56
parent10d7174613e9865b065c52e57af8b0799cd106b0 (diff)
downloadranger-ec3434a289d03890f0701ade9b053046e8797695.tar.gz
core/actions.py: search_file: Do not use `re.LOCALE`
Caught by pylint.

Continuation of bf36701d3b2cef579d89eb912aa3945de7a7f978
Fixes #664
Fixes #752
-rw-r--r--ranger/core/actions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/actions.py b/ranger/core/actions.py
index 1b35e57b..8bbf1b62 100644
--- a/ranger/core/actions.py
+++ b/ranger/core/actions.py
@@ -693,7 +693,7 @@ class Actions(FileManagerAware, SettingsAware):
     def search_file(self, text, offset=1, regexp=True):
         if isinstance(text, str) and regexp:
             try:
-                text = re.compile(text, re.L | re.U | re.I)
+                text = re.compile(text, re.U | re.I)
             except Exception:
                 return False
         self.thistab.last_search = text