Update positive-and-negative-lookahead.english.md (#34582)
Update solution from w{5} to w{6} as exercise is to match at greater than 5 characters long.
This commit is contained in:
@ -69,7 +69,7 @@ let result = pwRegex.test(sampleWord);
|
||||
|
||||
|
||||
```js
|
||||
var pwRegex = /(?=\w{5})(?=\D*\d{2})/;
|
||||
var pwRegex = /(?=\w{6})(?=\D*\d{2})/;
|
||||
```
|
||||
|
||||
</section>
|
||||
|
Reference in New Issue
Block a user