*means 0 or more. +means 1 or more.
\d*corresponds to the empty space between each character, because it is an empty string, i.e. zero digits. When you use \d+, an empty string is no longer a valid match, so you won’t get these extra matches.
source
share