forked from kenkeiras/org-rw
Compare commits
No commits in common. "694f3f59e20a7b7ad7e96813732dc3f5759ef0ab" and "c5cc14f65c03173bfb24951db709100e79286ee7" have entirely different histories.
694f3f59e2
...
c5cc14f65c
@ -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