fixed issue with html regexes after comments, also fixed an issue with close parens, closes #5