**Tell us what’s happening:**

Can someone explain what this code does? I tried several different expressions and finally copy-pasted the example solution and just changed the quantifier to 5.

The first lookaround appears to test for any five word characters (alphanumeric) `\w{5}`

The second lookaround appears to test for zero or more non-digits `\D*`

and any digit character `\d`

If the first lookahead is targeting exactly 5 word characters, wouldn’t that eliminate both “bana12” and “abc123”?

**Your code so far**

```
let sampleWord = "astronaut";
let pwRegex = /(?=\w{5})(?=\D*\d)/; // Change this line
let result = pwRegex.test(sampleWord);
```

**Your browser information:**

User Agent is: `Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36`

.

**Link to the challenge:**

https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/regular-expressions/positive-and-negative-lookahead