CSR-606: expand regex of vin-format validation rule to allow lowercase letters

This commit is contained in:
Adam Caouette 2022-05-19 10:09:53 -04:00
parent 6e1d891f4f
commit c52072faed

View file

@ -162,7 +162,7 @@ defineRule(
);
defineRule(
"vin-format",
regex(/^[A-HJ-NPR-Z0-9]{17}$/, errorMessages.VIN_FORMAT)
regex(/^[a-hA-Hj-nJ-NpPr-zR-Z0-9]{17}$/, errorMessages.VIN_FORMAT)
);
export default {