Reguler expression pisitive lookahead explen me detiles

let checkPass = /(?=\w{3,6})(?=\D*\d)/;
this line how did working
i match method to use return empty string

Hello!

For more information on how regex works, I recommend checking out Regex 101.