forked from kenkeiras/org-rw
Compare commits
4 Commits
c5cc14f65c
...
694f3f59e2
Author | SHA1 | Date | |
---|---|---|---|
694f3f59e2 | |||
921495fca8 | |||
|
423d6f9842 | ||
|
9e994ba323 |
@ -2151,7 +2151,7 @@ class OrgDoc:
|
||||
|
||||
for keyword in keywords:
|
||||
if keyword.key in ("TODO", "SEQ_TODO"):
|
||||
todo_kws, done_kws = re.sub(r"\(.\)", "", keyword.value).split("|", 1)
|
||||
todo_kws, done_kws = re.sub(r"\([^)]+\)", "", keyword.value).split("|", 1)
|
||||
|
||||
self.todo_keywords = re.sub(r"\s{2,}", " ", todo_kws.strip()).split()
|
||||
self.done_keywords = re.sub(r"\s{2,}", " ", done_kws.strip()).split()
|
||||
|
Loading…
Reference in New Issue
Block a user