Skip to content

Commit

Permalink
Can tag azure users in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bozarevskaandrea committed Jul 2, 2020
1 parent 74502b4 commit e2b9b00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/knowledgehub/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -1817,7 +1817,7 @@ def tag_mentions(text):
'''
mentions = []

for m in re.finditer(r'@([a-zA-Z0-9_-]+)', text):
for m in re.finditer(r'@([a-zA-Z0-9_.@-]+)', text):
if m:
mentions.append((m.group(1), m.start(), m.end()))

Expand Down

0 comments on commit e2b9b00

Please sign in to comment.