summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorstepshal <nessento@openmailbox.org>2016-07-11 21:18:46 +0700
committerstepshal <nessento@openmailbox.org>2016-07-11 21:19:34 +0700
commit1655a8171252aa17ad351dba26eea166bb0a01cf (patch)
tree51da7fbd4c9055dddca63183b14eb7a9c446996b
parentab6643976a91e2517af224e6c2ab99f631660cd7 (diff)
downloadranger-1655a8171252aa17ad351dba26eea166bb0a01cf.tar.gz
gui.ansi: fix anomalous backslash in string.
-rw-r--r--ranger/gui/ansi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/ansi.py b/ranger/gui/ansi.py
index e761c379..091406e9 100644
--- a/ranger/gui/ansi.py
+++ b/ranger/gui/ansi.py
@@ -8,7 +8,7 @@ from ranger.gui import color
 import re
 
 ansi_re = re.compile('(\x1b' + r'\[\d*(?:;\d+)*?[a-zA-Z])')
-codesplit_re = re.compile('38;5;(\d+);|48;5;(\d+);|(\d*);')
+codesplit_re = re.compile(r'38;5;(\d+);|48;5;(\d+);|(\d*);')
 reset = '\x1b[0m'