CSR-606: expand regex of vin-format validation rule to allow lowercase letters
This commit is contained in:
parent
6e1d891f4f
commit
c52072faed
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue