Restrict Possible Usernames

I think there is an mistake with this test. Here:

  1. Usernames have to be at least two characters long. A two-character username can only use alphabet letters as characters.

But one of the tests asks for the regex to match Z97. That is only one alphabet letter, so the regex should not match it. What do you think ?

The word character means numbers or letters (and even punctuation in some cases).

That is 3 characters long. The special case of only alphabet characters applies only to 2 character usernames. See the second sentence of #4 requirement.

Thanks, I thought it meant two characters from the alphabet :sweat_smile:

It would be if the username was only two characters in length.

1 Like