Test, validate and match regular expressions
Matches HTML section headings in documentation pages built with div/span structures using classes like 'body-section', 'sectionheading', and 'label'. It captures the section title text (group 1) and its dotted section number such as '3.2.1' (group 2) rendered as a marginal note next to the heading. Useful for scraping tables of contents or extracting numbered section data from styled HTML docs.