Test, validate and match regular expressions
Matches bare opening or closing HTML tags (e.g., <div>, </p>, <a>) from a comprehensive list of standard HTML element names, with an atomic group preventing backtracking for performance. A trailing space is required after the tag. Typically used with global/multiline flags to scan note bodies or user content for detecting, validating, or stripping markup.