Don't parse user mentions with a # ahead of them

This commit is contained in:
Toby Zerner 2015-05-19 11:01:50 +09:30
parent 2101250eaa
commit 4080a76a99

View File

@ -2,5 +2,5 @@
class UserMentionsParser extends MentionsParserAbstract
{
protected $pattern = '/\B@(?P<username>[a-z0-9_-]+)/i';
protected $pattern = '/\B@(?P<username>[a-z0-9_-]+)\b/i';
}