mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-23 20:36:40 +02:00
Do not allow space as part of text
This commit is contained in:
parent
241e4c5fdc
commit
0741cac677
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ BRACKET_OPENING = re.escape('* [')
|
||||||
BRACKET_CLOSING = re.escape('] ')
|
BRACKET_CLOSING = re.escape('] ')
|
||||||
EMPTY_SPACE = r'(?P<space>\s*)'
|
EMPTY_SPACE = r'(?P<space>\s*)'
|
||||||
UUID = r'(?P<uuid>{0})'.format(UUID_UNNAMED)
|
UUID = r'(?P<uuid>{0})'.format(UUID_UNNAMED)
|
||||||
TEXT = r'(?P<text>.+(?<!{0}))'.format(UUID_UNNAMED)
|
TEXT = r'(?P<text>.+(?<!{0})(?<!\s))'.format(UUID_UNNAMED)
|
||||||
DUE = r'(?P<due>\(\d{4}-\d\d-\d\d( \d\d:\d\d)?\))'
|
DUE = r'(?P<due>\(\d{4}-\d\d-\d\d( \d\d:\d\d)?\))'
|
||||||
COMPLETION_MARK = r'(?P<completed>.)'
|
COMPLETION_MARK = r'(?P<completed>.)'
|
||||||
UUID_COMMENT = '#{0}'.format(UUID)
|
UUID_COMMENT = '#{0}'.format(UUID)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue