May I know what ?= means in a regular expression? For example, what is its significance in this expression:
?=
(?=.*\\d).
(?=pattern) is a zero-width positive lookahead assertion. For example, /\w+(?=\t)/ matches a word followed by a tab, without including the tab in $&.
/\w+(?=\t)/
$&