diff --git a/files/helpers/const.py b/files/helpers/const.py index aa88b3fe75..c437270c04 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -708,7 +708,7 @@ emoji_regex2 = re.compile('(?([\w\-.#&/=?@%+]+)<\/a>', flags=re.A) +snappy_url_regex = re.compile('([\w:~,()\-.#&\/=?@%+]+)<\/a>', flags=re.A) email_regex = re.compile('([A-Za-z0-9]+[.-_])*[A-Za-z0-9]+@[A-Za-z0-9-]+(\.[A-Z|a-z]{2,})+', flags=re.A)