From eb7adda1687921aa9feecc635370e671c0b1c98a Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Fri, 5 Mar 2021 02:44:22 +0100 Subject: [PATCH] Fixed lower case value for country code in property checker. --- src/fr/devinsy/statoolinfos/checker/PropertyChecker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java b/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java index c289a2f..076410d 100644 --- a/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java +++ b/src/fr/devinsy/statoolinfos/checker/PropertyChecker.java @@ -46,7 +46,7 @@ public class PropertyChecker public static final String MONTHS = "^\\d*(,\\d*){0,11}$"; public static final String WEEKS = "^\\d*(,\\d*){0,52}$"; public static final String DAYS = "^\\d*(,\\d*){0,365}$"; - public static final String COUNTRY_CODE = "^[a-z][A-Z]{2}$"; + public static final String COUNTRY_CODE = "^[a-zA-Z]{2}$"; public static final String SUBS = "^subs\\.\\S+$"; public static final String METRICS_NAME = "^metrics\\.\\S+\\.name$";