Fixed regex on the original scanner assignment.