\d+a digit, repeated at least once
?repeats the group contents below at most once:
\.the literal . (4610 / 568 / 2E16)
\d+a digit, repeated at least once
\s*any whitespace character, repeated any number of times
-the literal - (4510 / 558 / 2D16)
\s*any whitespace character, repeated any number of times
\d+a digit, repeated at least once
?repeats the group contents below at most once:
\.the literal . (4610 / 568 / 2E16)
\d+a digit, repeated at least once
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string
g modifier: global. Finds all matches instead of stopping after the first