fix the stackoverflow problem with regex_like