-
agowa338 Nick_Craver Perl’s regular expressions have not been pure regular languages for a while, but if you need to match unequal parens a quick and dirty stack to make a poor man’s pushdown automata is easier. That said, matching a single tag just needs a plain ol’ regex.