diff options
Diffstat (limited to 'internal/util/regexes.go')
-rw-r--r-- | internal/util/regexes.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/util/regexes.go b/internal/util/regexes.go index c03fd878c..88212fc43 100644 --- a/internal/util/regexes.go +++ b/internal/util/regexes.go @@ -30,7 +30,7 @@ const ( ) var ( - mentionNameRegexString = `^@(\w+)(?:@([a-zA-Z0-9_\-\.]+)?)$` + mentionNameRegexString = `^@(\w+)(?:@([a-zA-Z0-9_\-\.:]+)?)$` // mention name regex captures the username and domain part from a mention string // such as @whatever_user@example.org, returning whatever_user and example.org (without the @ symbols) mentionNameRegex = regexp.MustCompile(mentionNameRegexString) |