The name change confirmation message would cut off the last character of the username, if the user didn't include their timezone in the nickname.
This PR merges the username regex from the name validator and helper functions and fixes this bug along the way. I also added more tests to verify that it works correctly.
Relevant issue: Closes #155
Description:
The name change confirmation message would cut off the last character of the username, if the user didn't include their timezone in the nickname.
This PR merges the username regex from the name validator and helper functions and fixes this bug along the way. I also added more tests to verify that it works correctly.
Checklist: