Build, test, and debug regular expressions
This regex matches AsciiDoc underline markup. It identifies inline spans marked with a [.underline] role followed by either single-hash (#text#) or double-hash (##text##) delimiters, using lookahead to avoid mixing the two forms. It is useful for parsing AsciiDoc documents to extract or transform underlined text in editors, converters, or syntax highlighters.