sebbASF commented on code in PR #116:
URL: https://github.com/apache/commons-validator/pull/116#discussion_r1089218243


##########
src/main/java/org/apache/commons/validator/routines/IBANValidator.java:
##########
@@ -206,13 +215,16 @@ public RegexValidator getRegexValidator() {
             new Validator("SM", 27, "SM\\d{2}[A-Z]{1}\\d{10}[A-Z0-9]{12}"   ), 
// San Marino
             new Validator("ST", 25, "ST\\d{23}"                             ), 
// Sao Tome and Principe
             new Validator("SV", 28, "SV\\d{2}[A-Z]{4}\\d{20}"               ), 
// El Salvador
+            new Validator("TF", 27, "TF\\d{12}[A-Z0-9]{11}\\d{2}"           ), 
// French Southern Territories
             new Validator("TL", 23, "TL\\d{21}"                             ), 
// Timor-Leste
             new Validator("TN", 24, "TN\\d{22}"                             ), 
// Tunisia
             new Validator("TR", 26, "TR\\d{8}[A-Z0-9]{16}"                  ), 
// Turkey
             new Validator("UA", 29, "UA\\d{8}[A-Z0-9]{19}"                  ), 
// Ukraine
             new Validator("VA", 22, "VA\\d{20}"                             ), 
// Vatican City State
             new Validator("VG", 24, "VG\\d{2}[A-Z]{4}\\d{16}"               ), 
// Virgin Islands
+            new Validator("WF", 27, "WF\\d{12}[A-Z0-9]{11}\\d{2}"           ), 
// Wallis and Futuna Islands
             new Validator("XK", 20, "XK\\d{18}"                             ), 
// Kosovo
+            new Validator("YT", 27, "YT\\d{12}[A-Z0-9]{11}\\d{2}"           )  
// Mayotte
     };
 
     /** The singleton instance which uses the default formats */

Review Comment:
   As to the format of the YT (etc) IBANs, I assume they must be the same as 
the countries that include them.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to