From df200fa6f9e8048dfff3edbd6d4f41278c19cef8 Mon Sep 17 00:00:00 2001 From: Sprax Lines Date: Sat, 1 Oct 2016 17:15:20 -0400 Subject: [PATCH] allow ampersands in tags --- jrnl/Entry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jrnl/Entry.py b/jrnl/Entry.py index 66b32f6c..2a2a03b2 100755 --- a/jrnl/Entry.py +++ b/jrnl/Entry.py @@ -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):