Reg pattern handler change