Build, test, and debug regular expressions
Matches an XML/HTML opening tag and captures its parts into named groups: the tag name (tagName), any attributes text (attributes), and the inner content (body) before the closing tag. The multiline flag makes it operate line-by-line, ideal for simple markup parsing and data extraction. Note that it doesn't verify the closing tag matches the opening tag, and it won't handle nesting or self-closing tags.