diff --git a/app/models/account.rb b/app/models/account.rb index 63680a1b9e..6f3a9e8883 100644 --- a/app/models/account.rb +++ b/app/models/account.rb @@ -61,8 +61,8 @@ class Account < ApplicationRecord trust_level ) - USERNAME_RE = /[a-z0-9_]+([a-z0-9_.-]+[a-z0-9_]+)?/i - MENTION_RE = %r{(?