Fix regex inclusion/exlusion of table that was not more working since the inclusion of limit_to_tables() function. Thanks to alex wang for the patch.