publicthe literal text public (case sensitive) 2nd Alternative — matches an empty string
\s+any whitespace character, repeated at least once
Group type(?<type>[^\s]+) Negated Character Class[^\s]+ +matches at least one character outside the set below:
\sany whitespace character
\s+any whitespace character, repeated at least once
Group name(?<name>[^\s]+) Negated Character Class[^\s]+ +matches at least one character outside the set below:
\sany whitespace character
\s*any whitespace character, repeated any number of times
\{the literal { (12310 / 1738 / 7B16)
Group 4(\s*(get|set)\s*;){2} {2}repeats the group contents below exactly 2 times:
\s*any whitespace character, repeated any number of times
getthe literal text get (case sensitive) setthe literal text set (case sensitive) \s*any whitespace character, repeated any number of times
;the literal ; (5910 / 738 / 3B16)
\s*any whitespace character, repeated any number of times
\}the literal } (12510 / 1758 / 7D16)
g modifier: global. Finds all matches instead of stopping after the first