Skip to content

Commit

Permalink
Remove ^ from tag regex in tasks
Browse files Browse the repository at this point in the history
This prevented tags in a comma list from being considered and removed
from the excerpt.

related to #1010
  • Loading branch information
diegogangl committed Apr 14, 2024
1 parent 0909010 commit 9c83fb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GTG/core/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
# REGEXES
# ------------------------------------------------------------------------------

TAG_REGEX = re.compile(r'^\B\@\w+(\-\w+)*\,*')
TAG_REGEX = re.compile(r'\B\@\w+(\-\w+)*\,*')
SUB_REGEX = re.compile(r'\{\!.+\!\}')


Expand Down

0 comments on commit 9c83fb8

Please sign in to comment.