regex corrections