Group 1(-?\d+(?:deg|g?rad|turn)?) -?optionally matches the literal - (4510 / 558 / 2D16)
\d+a digit, repeated at least once
Non-Capturing Group(?:deg|g?rad|turn)? ?repeats the group contents below at most once:
degthe literal text deg (case insensitive) g?optionally matches the literal g (10310 / 1478 / 6716) (case insensitive)
radthe literal text rad (case insensitive) turnthe literal text turn (case insensitive) ,the literal , (4410 / 548 / 2C16)
\s*any whitespace character, repeated any number of times
Group 2((?:\d{1,2}|100)%) Non-Capturing Group(?:\d{1,2}|100) \d{1,2}a digit, repeated between 1 and 2 times
%the literal % (3710 / 458 / 2516)
,the literal , (4410 / 548 / 2C16)
\s*any whitespace character, repeated any number of times
Group 3((?:\d{1,2}|100)%) Non-Capturing Group(?:\d{1,2}|100) \d{1,2}a digit, repeated between 1 and 2 times
%the literal % (3710 / 458 / 2516)
Non-Capturing Group(?:,\s*((?:\d{1,2}|100)%|0(?:\.\d+)?|1))? ?repeats the group contents below at most once:
,the literal , (4410 / 548 / 2C16)
\s*any whitespace character, repeated any number of times
Group 4((?:\d{1,2}|100)%|0(?:\.\d+)?|1) 1st Alternative(?:\d{1,2}|100)% Non-Capturing Group(?:\d{1,2}|100) \d{1,2}a digit, repeated between 1 and 2 times
%the literal % (3710 / 458 / 2516)
2nd Alternative0(?:\.\d+)? 0the literal 0 (4810 / 608 / 3016)
Non-Capturing Group(?:\.\d+)? ?repeats the group contents below at most once:
\.the literal . (4610 / 568 / 2E16)
\d+a digit, repeated at least once
1the literal 1 (4910 / 618 / 3116)