^start of line
\+?optionally matches the literal + (4310 / 538 / 2B16)
\d{1,3}a digit, repeated between 1 and 3 times
?repeats the group contents below at most once:
\-the literal - (4510 / 558 / 2D16)
\x20the literal (2016 / 408 / 3210)
\(?optionally matches the literal ( (4010 / 508 / 2816)
\d+a digit, repeated at least once
\)?optionally matches the literal ) (4110 / 518 / 2916)
+repeats the group contents below at least once:
?repeats the group contents below at most once:
\-the literal - (4510 / 558 / 2D16)
\x20the literal (2016 / 408 / 3210)
\d+a digit, 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