Group separate name and version tag
Here, ^ matches the start of the string, ([\w\.]+) matches one or more word characters or dots and captures it in a group, \s* matches any whitespace between the name and version, \d[\d\.\-]* matches the version number (which starts with a digit and may contain digits, dots or hyphens), and finally ...
Submitted by anonymous - 2 years ago