Need better parsing of wire posts for punctuation directly after usernames
|Reported by:||cash||Owned by:|
|Priority:||normal||Milestone:||Near Term Future Release|
Description (last modified by ewinslow)
"@brett." could be the username "brett" with a period after it or it could be the username "brett."
The latter is more unlikely. A 99% solution is to not allow periods at the end of usernames in the regex for detecting them as mentions. A 100% solution is to actually check for the existence of the username. (Aside, a function to check whether a username exists would come in handy for registration.) Checking for the username also fixes cases that I see where users use the @ for displaynames.