\(the literal ( (4010 / 508 / 2816)
\s*a Unicode whitespace character, repeated any number of times
Group dims(?P<dims>(?:\d+,\s*)+\s*\d+) Non-Capturing Group(?:\d+,\s*)+ +repeats the group contents below at least once:
\d+a Unicode decimal digit, repeated at least once
,the literal , (4410 / 548 / 2C16)
\s*a Unicode whitespace character, repeated any number of times
\s*a Unicode whitespace character, repeated any number of times
\d+a Unicode decimal digit, repeated at least once
\s*a Unicode whitespace character, repeated any number of times
\)the literal ) (4110 / 518 / 2916)
\s*a Unicode whitespace character, repeated any number of times
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