Solved the challenge, even though my code should have failed

Tell us what’s happening:

rule two prohibits any part of the code being a number followed by a letter.
I was able to pass with this code even though it breaks rule three.
Maybe there should be another point in the checklist?

Your code so far


let username = "j0e";
let userCheck = /^\D+[\D\d][\D\d]\d*$|^\D\D$/;
let result = userCheck.test(username);
console.log(result) //true

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36.

Challenge: Restrict Possible Usernames

Link to the challenge:

Thank you for helping make FCC better. Bugs can be reported as GitHub Issues. Whenever reporting a bug, please check first that there isn’t already an issue for it and provide as much detail as possible.