mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-17 23:57:14 +01:00
0c872beed4
This should not change the set of words matched by `USERNAME_RE` but does change the one matched by `MENTION_RE`. Indeed, the previous regexp allowed a domain part to start with `.` or `-`, which the new regexp does not allow.