This challenge introduces the curly brace regex but shows up a couple challenges AFTER the “Restrict Possible Usernames” challenge. But I had to use the curly braces to solve that one. Also n the Restrict Possible Usernames challenge the descriptions states as the 4th test:
4) Usernames have to be at least two characters long. A two-character username can only use alphabet letters as characters.
There are tests for “Jo” which should match, “A1” which should NOT match, and “Z97” which SHOULD match.
Your code so far
This is the code I had to use to solve the problem in that challenge:
let username = “JackOfAllTrades”;
are you saying there is something wrong with these tests? I do not understand
you do not need to use curly braces… for example a{2,} has the same exact behavior of aa+, and this last thing was arleady introduced in the curriculum
thank you for the info. I have since went back and fixed my answer to not include the curly brace. The tests I mentioned however, are still logically inconsistent with the instruction given.