tm: cleaner handling of dynamic regex param for t_check_status()