From d322aaa61e781c0a0faa4363150334f4675e0075 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Wed, 8 Apr 2015 23:57:02 +0200 Subject: [PATCH] Task: Improve config parsing regex --- tasklib/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasklib/task.py b/tasklib/task.py index 0f8d963..4d07fbf 100644 --- a/tasklib/task.py +++ b/tasklib/task.py @@ -957,7 +957,7 @@ class TaskWarrior(object): ) config = dict() - config_regex = re.compile(r'^(?P[_a-z\.]+)\s+(?P[^\s].+$)') + config_regex = re.compile(r'^(?P[^\s]+)\s+(?P[^\s].+$)') for line in raw_output: match = config_regex.match(line) -- 2.39.2