How is it possible that this is a valid solution, if in the curriculum doesn’t talk about ()
let username = "JackOfAllTrades";
let userCheck = /^[a-z]([0-9][0-9]+|[a-z]+\d*)$/i; // Change this line
let result = userCheck.test(username);
console.log(result, username.match(userCheck))
Challenge: Restrict Possible Usernames
Link to the challenge:
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/regular-expressions/restrict-possible-usernames