Skip to content

Commit

Permalink
Update regex.json (#9)
Browse files Browse the repository at this point in the history
* Update regex.json

* Update json.feature
  • Loading branch information
valosip authored and adambullmer committed Jun 20, 2016
1 parent 25c05c7 commit b911c8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion regex.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion test/features/json.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down

0 comments on commit b911c8e

Please sign in to comment.