public the literal text public (case sensitive) \w*any word character, repeated any number of times
\s*any whitespace character, repeated any number of times
class the literal text class (case sensitive) .+any character (except for line terminators), repeated at least once
\.the literal . (4610 / 568 / 2E16)
\w+any word character, repeated at least once
the literal (3210 / 408 / 2016)
\{the literal { (12310 / 1738 / 7B16)
\na line-feed (newline) character (ASCII 10)
Negated Character Class[^\}]* *matches any number of characters outside the set below:
\}the literal } (12510 / 1758 / 7D16)
\}the literal } (12510 / 1758 / 7D16)
$end of string, or before its final line terminator