From ef1c7b623a00d30ddeffa06a4f32e58d1b83989a Mon Sep 17 00:00:00 2001 From: Benjamin Powers Date: Mon, 24 Aug 2015 16:19:17 -0600 Subject: [PATCH] prevent Windows paths form getting striped --- todo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/todo.py b/todo.py index 3cadad3..7d566c0 100755 --- a/todo.py +++ b/todo.py @@ -297,7 +297,7 @@ def get_config(config_name="", dir_name=""): not config_name: default_config() else: - strip_re = re.compile('\w+\s([A-Za-z_$="./01]+).*') + strip_re = re.compile('\w+\s([A-Za-z_$="./01\\\\:]+).*') pri_re = re.compile('(PRI_[A-X]|DEFAULT)') for line in _iter_actual_lines_(config_file):