During the user registration only the letters, numbers and the characters @.+-_ are allowed:
@.+-_
But after successful registration the username can be changed to anything in the User profile settings: