^start of line
\w+a Unicode word character, repeated at least once
,the literal , (4410 / 548 / 2C16)
\sa Unicode whitespace character
\w+a Unicode word character, repeated at least once
\s*a Unicode whitespace character, repeated any number of times
\w*a Unicode word character, repeated any number of times
\.?optionally matches the literal . (4610 / 568 / 2E16)
$end of line
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