From: Tomas Babej Date: Wed, 8 Apr 2015 21:57:02 +0000 (+0200) Subject: Task: Improve config parsing regex X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/commitdiff_plain/d322aaa61e781c0a0faa4363150334f4675e0075?ds=inline;hp=-c Task: Improve config parsing regex --- d322aaa61e781c0a0faa4363150334f4675e0075 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)