把regex移入fetch_terms