The opening tag <name …> as a global, case-insensitive pattern (name is a regex source): inside it anything but <, > and a quote, or a whole quoted value (TAG_BODY), so a scan stops at the first unquoted <.
<name …>
name
<
>
TAG_BODY
The opening tag
<name …>as a global, case-insensitive pattern (nameis a regex source): inside it anything but<,>and a quote, or a whole quoted value (TAG_BODY), so a scan stops at the first unquoted<.