cleaned up regex_html_match