Remove regex instruction and make match always do regex matching.