<the literal < (6010 / 748 / 3C16)
Group tname(?P<tname>[^\s]+) Negated Character Class[^\s]+ +matches at least one character outside the set below:
\sany whitespace character
Negated Character Class[^>]*? *?matches any number of characters outside the set below:
>the literal > (6210 / 768 / 3E16)
\sany whitespace character
typethe literal text type (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
Character Class[\x22\x27] \x22the literal " (2216 / 428 / 3410)
\x27the literal ' (2716 / 478 / 3910)
yamlthe literal text yaml (case sensitive) (?P=q)the text saved by group q
Group 3((?!<\/(?P=tname)).+?) Negative Lookahead(?!<\/(?P=tname)) <the literal < (6010 / 748 / 3C16)
\/the literal / (4710 / 578 / 2F16)
(?P=tname)the text saved by group tname
.+?any character (except for line terminators), repeated at least once
!rubythe literal text !ruby (case sensitive) g modifier: global. Finds all matches instead of stopping after the first