mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-18 03:58:32 +02:00
allow ampersands in tags
This commit is contained in:
parent
a6f6d7eec5
commit
df200fa6f9
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ class Entry:
|
|||
|
||||
@staticmethod
|
||||
def tag_regex(tagsymbols):
|
||||
pattern = r'(?u)\s([{tags}][-+*#/\w]+)'.format(tags=tagsymbols)
|
||||
pattern = r'(?u)\s([{tags}][-+*#&/\w]+)'.format(tags=tagsymbols)
|
||||
return re.compile( pattern, re.UNICODE )
|
||||
|
||||
def parse_tags(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue