Better regex parser for the md.