From 5ac76841e76dc717b400c6f0ac741bb09e2b4a7d Mon Sep 17 00:00:00 2001 From: katherine Date: Tue, 17 Jan 2017 05:22:23 -0700 Subject: remove re.LOCALE from commands.py explodes ranger's search capabilities, parently --- .config/ranger/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config') diff --git a/.config/ranger/commands.py b/.config/ranger/commands.py index 4d290e7..7ffd7f5 100644 --- a/.config/ranger/commands.py +++ b/.config/ranger/commands.py @@ -1092,7 +1092,7 @@ class scout(Command): regex = "^(?:(?!%s).)*$" % regex # Compile Regular Expression - options = re.LOCALE | re.UNICODE + options = re.UNICODE if self.IGNORE_CASE in flags or self.SMART_CASE in flags and \ pattern.islower(): options |= re.IGNORECASE -- cgit v1.2.3