Remove redundant re.UNICODE flag

This commit is contained in:
Aaron Lichtman 2019-11-17 01:01:04 +01:00 committed by GitHub
parent f2bf1ff900
commit edb0d8efa1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,7 +49,7 @@ class Entry:
@staticmethod @staticmethod
def tag_regex(tagsymbols): def tag_regex(tagsymbols):
pattern = fr'(?u)(?<!\S)([{tagsymbols}][-+*#/\w]+)' pattern = fr'(?<!\S)([{tagsymbols}][-+*#/\w]+)'
return re.compile(pattern) return re.compile(pattern)
def _parse_tags(self): def _parse_tags(self):