def parse_tables(self):
tables = self._parse_tables(self._build_doc(), self.match, self.attrs)<EOL>return (self._parse_thead_tbody_tfoot(table) for table in tables)<EOL>
Parse and return all tables from the DOM.

Returns
-------
list of parsed (header, body, footer) tuples from tables.