summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2016-08-26 23:53:36 +0200
committerhut <hut@lepus.uberspace.de>2016-08-26 23:53:36 +0200
commit4b47c0a3379dbd3ce7640ed6435cfc7e24e988fe (patch)
treebeaba1a2de811435533df51e9c60351b82ab18e9
parentfe95e13de7e306e77e63a5819170fe814a9af5bc (diff)
parent1655a8171252aa17ad351dba26eea166bb0a01cf (diff)
downloadranger-4b47c0a3379dbd3ce7640ed6435cfc7e24e988fe.tar.gz
Merge branch 'anomalous-backslash-in-string' of https://github.com/stepshal/ranger
-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'