<refthe literal text <ref (case sensitive) \s+any whitespace character, repeated at least once
Group 1((?:group|follow|extends)\s*=(?:(?!name\s*=)[\s\S])*)? ?repeats the group contents below at most once:
Non-Capturing Group(?:group|follow|extends) groupthe literal text group (case sensitive) followthe literal text follow (case sensitive) extendsthe literal text extends (case sensitive) \s*any whitespace character, repeated any number of times
=the literal = (6110 / 758 / 3D16)
Non-Capturing Group(?:(?!name\s*=)[\s\S])* *repeats the group contents below any number of times:
Negative Lookahead(?!name\s*=) namethe literal text name (case sensitive) \s*any whitespace character, repeated any number of times
=the literal = (6110 / 758 / 3D16)
\sany whitespace character
\Sany non-whitespace character
namethe literal text name (case sensitive) \s*any whitespace character, repeated any number of times
=the literal = (6110 / 758 / 3D16)
\s*any whitespace character, repeated any number of times
Non-Capturing Group(?:"\s*([^"](?:(?!\s*\/>|\s*"\s*>|\s+(?:group|follow|extends)).)*?)\s*"|'\s*([^'"](?:(?!\s*\/>|\s*'>|\s+(?:group|follow|extends)).)*?)\s*'|([^"](?:(?!\s*\/>|\s*>|\s+(?:group|follow|extends)).)*)) 1st Alternative"\s*([^"](?:(?!\s*\/>|\s*"\s*>|\s+(?:group|follow|extends)).)*?)\s*" "the literal " (3410 / 428 / 2216)
\s*any whitespace character, repeated any number of times
Group 2([^"](?:(?!\s*\/>|\s*"\s*>|\s+(?:group|follow|extends)).)*?) Negated Character Class[^"] "the literal " (3410 / 428 / 2216)
Non-Capturing Group(?:(?!\s*\/>|\s*"\s*>|\s+(?:group|follow|extends)).)*? *?repeats the group contents below any number of times:
Negative Lookahead(?!\s*\/>|\s*"\s*>|\s+(?:group|follow|extends)) \s*any whitespace character, repeated any number of times
\/the literal / (4710 / 578 / 2F16)
>the literal > (6210 / 768 / 3E16)
\s*any whitespace character, repeated any number of times
"the literal " (3410 / 428 / 2216)
\s*any whitespace character, repeated any number of times
>the literal > (6210 / 768 / 3E16)
3rd Alternative\s+(?:group|follow|extends) \s+any whitespace character, repeated at least once
Non-Capturing Group(?:group|follow|extends) groupthe literal text group (case sensitive) followthe literal text follow (case sensitive) extendsthe literal text extends (case sensitive) .any character (except for line terminators)
\s*any whitespace character, repeated any number of times
"the literal " (3410 / 428 / 2216)
2nd Alternative'\s*([^'"](?:(?!\s*\/>|\s*'>|\s+(?:group|follow|extends)).)*?)\s*' 'the literal ' (3910 / 478 / 2716)
\s*any whitespace character, repeated any number of times
Group 3([^'"](?:(?!\s*\/>|\s*'>|\s+(?:group|follow|extends)).)*?) Negated Character Class[^'"] 'the literal ' (3910 / 478 / 2716)
"the literal " (3410 / 428 / 2216)
Non-Capturing Group(?:(?!\s*\/>|\s*'>|\s+(?:group|follow|extends)).)*? *?repeats the group contents below any number of times:
Negative Lookahead(?!\s*\/>|\s*'>|\s+(?:group|follow|extends)) .any character (except for line terminators)
\s*any whitespace character, repeated any number of times
'the literal ' (3910 / 478 / 2716)
3rd Alternative([^"](?:(?!\s*\/>|\s*>|\s+(?:group|follow|extends)).)*) Group 5(\s+(?:group|follow|extends)\s*=(?:(?!\s*\/>|"\s*>|'\s*>)[\s\S])*)* \s*any whitespace character, repeated any number of times
Non-Capturing Group(?:(\/)|) >the literal > (6210 / 768 / 3E16)
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