Added regex matching for checking tablenames for check_all_jobs().