Skip to content

Commit

Permalink
Fix CH regex (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
fpalamour committed Nov 25, 2022
1 parent 9f28d95 commit a424f34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Validator
'AT' => 'U[A-Z\d]{8}',
'BE' => '[0|1]{1}\d{9}',
'BG' => '\d{9,10}',
'CH' => 'E(-| ?)(\d{3}(\.)\d{3}(\.)\d{3}|\d{9})( ?)(MWST|TVA|IVA)',
'CH' => 'E(-| ?)(\d{3}(\.)\d{3}(\.)\d{3}|\d{9})( ?)(MWST|TVA|IVA)?',
'CY' => '\d{8}[A-Z]',
'CZ' => '\d{8,10}',
'DE' => '\d{9}',
Expand Down

0 comments on commit a424f34

Please sign in to comment.