^start of line
Name:the literal text Name: (case sensitive) \s*a Unicode whitespace character, repeated any number of times
Comment: look for Name:, followed by whitespaces
Comment: at the beginning of a line
.+any Unicode character (except for line terminators), repeated at least once
Comment: capture the rest of the line
Comment: in a group called "name"
+?matches at least one character from the set below:
\sa Unicode whitespace character
\Sany character that is not Unicode whitespace
Comment: anything afterwards lazily
^start of line
Clashthe literal text Clash (case sensitive) \ the literal (3210 / 408 / 2016)
Point:the literal text Point: (case sensitive) \s*a Unicode whitespace character, repeated any number of times
Comment: same construct as above
.+any Unicode character (except for line terminators), repeated at least once
Comment: same as the other group
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
x modifier: extended. Ignores unescaped whitespace and comments outside character classes