Skip to content

Commit

Permalink
Merge pull request #1 from otoplahcinski/op/poland-dash-optional
Browse files Browse the repository at this point in the history
Make - optional for poland postal codes
  • Loading branch information
otoplahcinski committed Feb 9, 2021
2 parents cfd5cb2 + e77a057 commit 20a24cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions formats/PL.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"Description": "PL : 99-999",
"RedundantCharacters": " ",
"ValidationRegex": "^[0-9]{2}-[0-9]{3}$",
"ValidationRegex": "^[0-9]{2}(-)?[0-9]{3}$",
"TestData": {
"Valid": [
"44-100 ",
"44-100"
"44-100",
"44100"
],
"Invalid": [
"44100",
"44f00",
"e4410",
"44-100d",
Expand Down

0 comments on commit 20a24cf

Please sign in to comment.