@Machavity You probably copied that username from MS. Unfortunately, in doing so, you also picked up the
Left-to-Right Override character which MS puts at the end of every username it displays in order to reduce problems caused by usernames with right-to-left text. As a result, that regex won't match the username you're intending to detect.