^start of line
\d+a Unicode decimal digit, repeated at least once
\s+a Unicode whitespace character, repeated at least once
\S+any character that is not Unicode whitespace, repeated at least once
\.the literal . (4610 / 568 / 2E16)
cppthe literal text cpp (case sensitive) \sa Unicode whitespace character
.*any Unicode character (except for line terminators), repeated any number of times
Non-Capturing Group(?:\r?\n(?![01]\r?$).*)* *repeats the group contents below any number of times:
\r?optionally matches a carriage return (ASCII 13)
\na line-feed (newline) character (ASCII 10)
Negative Lookahead(?![01]\r?$) 0the literal 0 (4810 / 608 / 3016)
1the literal 1 (4910 / 618 / 3116)
\r?optionally matches a carriage return (ASCII 13)
$end of line
.*any Unicode character (except for line terminators), repeated any number of times
\r?optionally matches a carriage return (ASCII 13)
\na line-feed (newline) character (ASCII 10)
+matches at least one character from the set below:
1the literal 1 (4910 / 618 / 3116)
0the literal 0 (4810 / 608 / 3016)
\r?optionally matches a carriage return (ASCII 13)
$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