capture jira mentions appear at the end of a line (#120)
diff --git a/migration/src/jira_util.py b/migration/src/jira_util.py
index c305af9..d6f1796 100644
--- a/migration/src/jira_util.py
+++ b/migration/src/jira_util.py
@@ -228,8 +228,8 @@
REGEX_CRLF = re.compile(r"\r\n")
REGEX_JIRA_KEY = re.compile(r"[^/]LUCENE-\d+")
-REGEX_MENTION_ATMARK = re.compile(r"(^@[\w\s\.@_-]+?)|((?<=[\s\(\"',.])@[\w\s\.@_-]+?)(?=[\s\)\"'\?!,,;:\..$])") # this regex may capture only "@" + "<username>" mentions
-REGEX_MENION_TILDE = re.compile(r"(^\[~[\w\s\.@_-]+?\])|((?<=[\s\(\"',.])\[~[\w\s\.@_-]+?\])(?=[\s\)\"'\?!,,;:\..$])") # this regex may capture only "[~" + "<username>" + "]" mentions
+REGEX_MENTION_ATMARK = re.compile(r"(^@[\w\s\.@_-]+?)|((?<=[\s\(\"',.])@[\w\s\.@_-]+?)($|(?=[\s\)\"'\?!,,;:\..]))") # this regex may capture only "@" + "<username>" mentions
+REGEX_MENION_TILDE = re.compile(r"(^\[~[\w\s\.@_-]+?\])|((?<=[\s\(\"',.])\[~[\w\s\.@_-]+?\])($|(?=[\s\)\"'\?!,,;:\..]))") # this regex may capture only "[~" + "<username>" + "]" mentions
REGEX_LINK = re.compile(r"\[([^\]]+)\]\(([^\)]+)\)")
REGEX_GITHUB_ISSUE_LINK = re.compile(r"(\s)(#\d+)(\s)")