dump enum refs from match patterns