Lookaheads先行断言是怎样的判断逻辑

先行断言以匹配大于 5 个字符且有两个连续数字的密码
/(?=\d\d)(?=\w{6})/失败,为什么必须要加\D*。

我好像明白了,我这样使用会判定\d的位置。使其必须处于六个字符的前两位
I seem to understand, I use this will determine the location of \ D.Make it must be in the first two of the six characters