Username not validating

I am using the form to create a user and associated profile. where the user name adheres to the standard rules:

  • Required. 150 characters or fewer.
  • Letters, digits and @/./+/-/_ only.