^start of line
\w+a Unicode word character, repeated at least once
Non-Capturing Group(?:-\w+)+ +repeats the group contents below at least once:
-the literal - (4510 / 558 / 2D16)
\w+a Unicode word character, repeated at least once
-the literal - (4510 / 558 / 2D16)
\d+a Unicode decimal digit, repeated at least once
\.the literal . (4610 / 568 / 2E16)
\S+any character that is not Unicode whitespace, repeated at least once
$end of line
g modifier: global. Finds all matches instead of stopping after the first
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string