Skip to content

Commit

Permalink
ES prefix not required
Browse files Browse the repository at this point in the history
  • Loading branch information
JoryHogeveen authored Mar 2, 2022
1 parent fcd44dd commit 2d44cd2
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 2d44cd2

Please sign in to comment.