What does it mean at the beginning of a js regular expression? =, and no? = makes no difference?

like
/ (? = (YYYY | YY | MM | DD | HH | mm | ss | ms))\ 1 ([:\ /] *) /
and
/ (YYYY | YY | DD | HH | mm | ss | ms) ([:\ /] *) /

?=

, I don"t know what"s the obvious difference between the two. Is there a great god who can answer it?
the original code is as follows:

Mar.14,2022

advance assertion

Syntax: (? = pattern)

case: matches the string x, but x must be followed by y

  http://blog.sina.com.cn/s/blo.

Menu