Fixed minor error in reg ex