Apply var. fixes to regex transformations