patch regualr expression