closed araqne/issue#160. modified to apply wildcard for table name.