summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/defaults/options.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/defaults/options.py b/ranger/defaults/options.py
index d93d7685..3d884172 100644
--- a/ranger/defaults/options.py
+++ b/ranger/defaults/options.py
@@ -36,7 +36,7 @@ from ranger.api.options import *
 # Which files should be hidden?  Toggle this by typing `zh' or
 # changing the setting `show_hidden'
 hidden_filter = regexp(
-	r'lost\+found|^\.|~$|\.(:?pyc|pyo|bak|swp)$')
+	r'lost\+found|^\.|~$|\.(?:pyc|pyo|bak|swp)$')
 show_hidden = False
 
 # Show dotfiles in the bookmark preview box?