Merge pull request #479 from Safelite/bugfix/CSR-606

CSR-606: expand regex of vin-format validation rule to allow lowercas…
This commit is contained in:
AdamCaouetteSafelite 2022-05-19 10:19:09 -04:00 committed by GitHub
commit d73bc4e733
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 {