Skip to content

Commit

Permalink
Merge pull request #19 from JoryHogeveen/master
Browse files Browse the repository at this point in the history
Fix incorrect ES regex
  • Loading branch information
NKoonen authored Mar 2, 2022
2 parents d633bd6 + c113ab6 commit 61079f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vatchecker.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class Vatchecker extends Module
'DK' => '(DK)?[0-9]{8}', # Denmark
'EE' => '(EE)?[0-9]{9}', # Estonia
'GR' => '(EL)?[0-9]{9}', # Greece
'ES' => 'ES[A-Z][0-9]{7}(?:[0-9]|[A-Z])', # Spain
'ES' => '(ES)?[A-Z][0-9]{7}(?:[0-9]|[A-Z])', # Spain
'FI' => '(FI)?[0-9]{8}', # Finland
'FR' => '(FR)?[0-9A-Z]{2}[0-9]{9}', # France
//'GB' => '(GB)?([0-9]{9}([0-9]{3})?|[A-Z]{2}[0-9]{3})', # United Kingdom // Brexit!
Expand Down

0 comments on commit 61079f0

Please sign in to comment.