So, the way I interpret the first and third rules together is that a username longer than two characters could actually begin with just one letter and then finish off with numbers (e.g. s8448) or even just be all numbers.
Because of that, I couldn’t get the answer. Now I’m wondering if their solution:
/^[a-z]{2,}\d*$/i
would satisfy a username such as my example. I can’t find a lesson about the squiggly brackets. If not, perhaps the instructions should be fixed to make that clearer. Unless I’m just too persnickety…
Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames
UPDATE: After continuing, I’ve learned that the lesson about the curly brackets comes a few lessons later. I’m not sure how I should go about alerting FCC to this…
