Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed regular expression check for Lebanese IBANs

git-svn-id: http://svn.php.net/repository/pear/packages/Validate/trunk@307383 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
commit 3140deca91154b90ee603993c647392183fc2ace 1 parent b709734
Hartmut Holzgraefe authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Validate/Finance/IBAN.php
View
2  Validate/Finance/IBAN.php
@@ -413,7 +413,7 @@ function _getCountrycodeRegex()
'IS' => '/^IS[0-9]{2}[0-9]{4}[0-9]{18}$/',
'IT' => '/^IT[0-9]{2}[A-Z]{1}[0-9]{10}[A-Z0-9]{12}$/',
'KW' => '/^KW[0-9]{2}[A-Z]{4}[A-Z0-9]{22}$/',
- 'LB' => '/^LB[0-9]{2}[A-Z]{4}[A-Z0-9]{20}$/',
+ 'LB' => '/^LB[0-9]{2}[0-9]{4}[A-Z0-9]{20}$/',
'LI' => '/^LI[0-9]{2}[0-9]{5}[A-Z0-9]{12}$/',
'LU' => '/^LU[0-9]{2}[0-9]{3}[A-Z0-9]{13}$/',
'LT' => '/^LT[0-9]{2}[0-9]{5}[0-9]{11}$/',
Please sign in to comment.
Something went wrong with that request. Please try again.