update the regular exp