be more lenient with regard to whitespace (I think the start tag plus one or more whitespace, for example).  Same comment for TABLE_END_REGEX (if the line only contains the end tag and whitespace, it should match)