\s*any whitespace character, repeated any number of times
\(the literal ( (4010 / 508 / 2816)
\s*any whitespace character, repeated any number of times
\)the literal ) (4110 / 518 / 2916)
\s*any whitespace character, repeated any number of times
\{the literal { (12310 / 1738 / 7B16)
Group 1(.*(return\s*\d*\s*;?)\s*) .*any character (except for line terminators), repeated any number of times
Group 2(return\s*\d*\s*;?) returnthe literal text return (case sensitive) \s*any whitespace character, repeated any number of times
\d*a digit, repeated any number of times
\s*any whitespace character, repeated any number of times
;?optionally matches the literal ; (5910 / 738 / 3B16)
\s*any whitespace character, repeated any number of times
\}the literal } (12510 / 1758 / 7D16)
\s*any whitespace character, repeated any number of times
;?optionally matches the literal ; (5910 / 738 / 3B16)
g modifier: global. Finds all matches instead of stopping after the first