Exercise doesnt check the requierement

Sorry if this is not the place to report it. But i couldnt find a way to report it. I’m in love with freecodecamp, this is simple but:

The exercise doesnt check for passwords shorter than 5 characthers.

   **Your code so far**

let sampleWord = "b44";
let pwRegex = /(?=\w{3,})(?=\D+\d{2})/; // Change this line
let result = pwRegex.test(sampleWord); 
console.log(result)

Challenge: Positive and Negative Lookahead

Link to the challenge:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.