^start of line
##apithe literal text ##api (case insensitive) Group apicont(?<apicont>.+?) .+?any character, repeated at least once
.+?any character, repeated at least once
Функцияthe literal text Функция (case insensitive) \s+any whitespace character, repeated at least once
Group funcname(?<funcname>.+?) .+?any character, repeated at least once
\(the literal ( (4010 / 508 / 2816)
Group funcparam(?<funcparam>.+?) .+?any character, repeated at least once
\)the literal ) (4110 / 518 / 2916)
\s+any whitespace character, repeated at least once
{the literal { (12310 / 1738 / 7B16)
s modifier: single line. Allows a dot to match line terminators
i modifier: insensitive. Matches without distinguishing uppercase and lowercase letters
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string