mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 13:08:31 +02:00
Remove redundant UNICODE flag
This commit is contained in:
parent
b6f6b290e3
commit
95b23d433c
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class Entry:
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def tag_regex(tagsymbols):
|
def tag_regex(tagsymbols):
|
||||||
pattern = r'(?u)(?:^|\s)([{tags}][-+*#/\w]+)'.format(tags=tagsymbols)
|
pattern = r'(?:^|\s)([{tags}][-+*#/\w]+)'.format(tags=tagsymbols)
|
||||||
return re.compile(pattern, re.UNICODE)
|
return re.compile(pattern, re.UNICODE)
|
||||||
|
|
||||||
def _parse_tags(self):
|
def _parse_tags(self):
|
||||||
|
|
Loading…
Add table
Reference in a new issue