diff --git a/regex.json b/regex.json index 447f44c..cf9b46c 100644 --- a/regex.json +++ b/regex.json @@ -327,8 +327,9 @@ ] }, "VA": { - "rule": "(^[A-Z]{1}[0-9]{9,11}$)|(^[0-9]{9}$)", + "rule": "(^[A-Z]{1}[0-9]{8,11}$)|(^[0-9]{9}$)", "description": [ + "1 Alpha + 8 Numeric", "1 Alpha + 9 Numeric", "1 Alpha + 10 Numeric", "1 Alpha + 11 Numeric", diff --git a/test/features/json.feature b/test/features/json.feature index e27a0f3..43a4b1f 100644 --- a/test/features/json.feature +++ b/test/features/json.feature @@ -559,7 +559,7 @@ Feature: Valid Regex Rules | VA | A123456789 | TRUE | | VA | A1234567890 | TRUE | | VA | A12345678901 | TRUE | - | VA | A12345678 | FALSE | + | VA | A12345678 | TRUE | | VA | A123456789012 | FALSE | | VA | 123456789A | FALSE | | VA | AB123456789 | FALSE |