escape regex characters

Usernames containing regular expression characters break formatting