\(the literal ( (4010 / 508 / 2816)
?matches at most one character from the set below:
+the literal + (4310 / 538 / 2B16)
-the literal - (4510 / 558 / 2D16)
0the literal 0 (4810 / 608 / 3016)
+repeats the group contents below at least once:
\da digit
?repeats the group contents below at most once:
\.the literal . (4610 / 568 / 2E16)
\d+a digit, repeated at least once
,the literal , (4410 / 548 / 2C16)
\sany whitespace character
?matches at most one character from the set below:
+the literal + (4310 / 538 / 2B16)
-the literal - (4510 / 558 / 2D16)
0the literal 0 (4810 / 608 / 3016)
+repeats the group contents below at least once:
\da digit
?repeats the group contents below at most once:
\.the literal . (4610 / 568 / 2E16)
\d+a digit, repeated at least once
\)the literal ) (4110 / 518 / 2916)
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