Help me with positive Lookahead guys :((

I dont’t know why my code not working…Is there anything wrong?

my code so far

let sampleWord = "astronaut";
let pwRegex = /^\D(?=\w{6,})(?=\D{1}\w{3,}\d{2})/; // Change this line^let result = pwRegex.test(sampleWord);

Your browser information:

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

Challenge: Positive and Negative Lookahead

Link to the challenge:


These are the errors:

But they are also hints. Your regex works when the two consecutive numbers are between the first and last character, but not when they’re at the end.