escape regex characters

Usernames containing regular expression characters break formatting
Merge pull request #209 from Ibuprofen/patch-1

escape regex characters in mentions