Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/validator/Constraints/IbanValidator.php @ 12:7a779792577d
Update Drupal core to v8.4.5 (via Composer)
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:52:07 +0000 |
parents | 4c8ae668cc8c |
children | 1fec387a4317 |
comparison
equal
deleted
inserted
replaced
11:bfffd8d7479a | 12:7a779792577d |
---|---|
31 * The following 2 characters represent the check digits calculated from the rest of the IBAN characters. | 31 * The following 2 characters represent the check digits calculated from the rest of the IBAN characters. |
32 * The rest are up to thirty alphanumeric characters for | 32 * The rest are up to thirty alphanumeric characters for |
33 * a BBAN (Basic Bank Account Number) which has a fixed length per country and, | 33 * a BBAN (Basic Bank Account Number) which has a fixed length per country and, |
34 * included within it, a bank identifier with a fixed position and a fixed length per country | 34 * included within it, a bank identifier with a fixed position and a fixed length per country |
35 * | 35 * |
36 * @see http://www.swift.com/dsp/resources/documents/IBAN_Registry.pdf | 36 * @see https://www.swift.com/sites/default/files/resources/iban_registry.pdf |
37 * | 37 * |
38 * @var array | 38 * @var array |
39 */ | 39 */ |
40 private static $formats = array( | 40 private static $formats = array( |
41 'AD' => 'AD\d{2}\d{4}\d{4}[\dA-Z]{12}', // Andorra | 41 'AD' => 'AD\d{2}\d{4}\d{4}[\dA-Z]{12}', // Andorra |
127 'SN' => 'SN\d{2}[A-Z]{1}\d{23}', // Senegal | 127 'SN' => 'SN\d{2}[A-Z]{1}\d{23}', // Senegal |
128 'TF' => 'FR\d{2}\d{5}\d{5}[\dA-Z]{11}\d{2}', // French Southern Territories | 128 'TF' => 'FR\d{2}\d{5}\d{5}[\dA-Z]{11}\d{2}', // French Southern Territories |
129 'TL' => 'TL\d{2}\d{3}\d{14}\d{2}', // Timor-Leste | 129 'TL' => 'TL\d{2}\d{3}\d{14}\d{2}', // Timor-Leste |
130 'TN' => 'TN59\d{2}\d{3}\d{13}\d{2}', // Tunisia | 130 'TN' => 'TN59\d{2}\d{3}\d{13}\d{2}', // Tunisia |
131 'TR' => 'TR\d{2}\d{5}[\dA-Z]{1}[\dA-Z]{16}', // Turkey | 131 'TR' => 'TR\d{2}\d{5}[\dA-Z]{1}[\dA-Z]{16}', // Turkey |
132 'UA' => 'UA\d{2}[A-Z]{6}[\dA-Z]{19}', // Ukraine | 132 'UA' => 'UA\d{2}\d{6}[\dA-Z]{19}', // Ukraine |
133 'VG' => 'VG\d{2}[A-Z]{4}\d{16}', // Virgin Islands, British | 133 'VG' => 'VG\d{2}[A-Z]{4}\d{16}', // Virgin Islands, British |
134 'WF' => 'FR\d{2}\d{5}\d{5}[\dA-Z]{11}\d{2}', // Wallis and Futuna Islands | 134 'WF' => 'FR\d{2}\d{5}\d{5}[\dA-Z]{11}\d{2}', // Wallis and Futuna Islands |
135 'XK' => 'XK\d{2}\d{4}\d{10}\d{2}', // Republic of Kosovo | 135 'XK' => 'XK\d{2}\d{4}\d{10}\d{2}', // Republic of Kosovo |
136 'YT' => 'FR\d{2}\d{5}\d{5}[\dA-Z]{11}\d{2}', // Mayotte | 136 'YT' => 'FR\d{2}\d{5}\d{5}[\dA-Z]{11}\d{2}', // Mayotte |
137 ); | 137 ); |