Handle multiple reg.exps.