From 1655a8171252aa17ad351dba26eea166bb0a01cf Mon Sep 17 00:00:00 2001 From: stepshal Date: Mon, 11 Jul 2016 21:18:46 +0700 Subject: gui.ansi: fix anomalous backslash in string. --- ranger/gui/ansi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' -- cgit 1.4.1-2-gfad0