^start of line
weightthe literal text weight (case insensitive) .+any Unicode character (except for line terminators), repeated at least once
averagethe literal text average (case insensitive) .+any Unicode character (except for line terminators), repeated at least once
{0,2}repeats the group contents below between 0 and 2 times:
\na line-feed (newline) character (ASCII 10)
.+any Unicode character (except for line terminators), repeated at least once
Group 2(share|basic|ordinary) sharethe literal text share (case insensitive) basicthe literal text basic (case insensitive) ordinarythe literal text ordinary (case insensitive) .+any Unicode character (except for line terminators), repeated at least once
\sa Unicode whitespace character
+matches at least one character from the set below:
\da Unicode decimal digit
,the literal , (4410 / 548 / 2C16)
\s+a Unicode whitespace character, repeated at least once
\sa Unicode whitespace character
+matches at least one character from the set below:
\da Unicode decimal digit
,the literal , (4410 / 548 / 2C16)
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
i modifier: insensitive. Matches without distinguishing uppercase and lowercase letters