From 56ac707b17b1d125b523ab72d4804086d4c42b0c Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Fri, 5 Mar 2021 02:30:06 +0100 Subject: [PATCH] Added 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 f654199..c289a2f 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]{2}$"; + public static final String COUNTRY_CODE = "^[a-z][A-Z]{2}$"; public static final String SUBS = "^subs\\.\\S+$"; public static final String METRICS_NAME = "^metrics\\.\\S+\\.name$";