From b59815633709038d8cfefe0d1992aa50f826ec27 Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Mon, 24 Apr 2023 20:12:45 +0100 Subject: [PATCH] update postal code samples for country codes: HK, KI, MS, SA and ST --- src/CONST.js | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/CONST.js b/src/CONST.js index 568aa09ebe6c..7d7fc10be5b2 100755 --- a/src/CONST.js +++ b/src/CONST.js @@ -1727,7 +1727,7 @@ const CONST = { GY: {}, HK: { regex: /^999077$|^$/, - samples: '999077, empty', + samples: '999077', }, HN: { regex: /^\d{5}$/, @@ -1809,7 +1809,7 @@ const CONST = { }, KI: { regex: /^KI\d{4}$/, - samples: '36524, 49717, 67606, 96469', + samples: 'KI0104, KI0109, KI0112, KI0306', }, KM: {}, KN: { @@ -1927,7 +1927,7 @@ const CONST = { MR: {}, MS: { regex: /^[Mm][Ss][Rr]\s{0,1}\d{4}$/, - samples: '97263, 97243, 98210, 97213', + samples: 'MSR1110, MSR1230, MSR1250, MSR1330', }, MT: { regex: /^[A-Z]{3} [0-9]{4}|[A-Z]{2}[0-9]{2}|[A-Z]{2} [0-9]{2}|[A-Z]{3}[0-9]{4}|[A-Z]{3}[0-9]{2}|[A-Z]{3} [0-9]{2}$/, @@ -2082,7 +2082,7 @@ const CONST = { RW: {}, SA: { regex: /^\d{5}(-{1}\d{4})?$/, - samples: '86020-12567, 72375, 70280, 96328', + samples: '86020-1256, 72375, 70280, 96328', }, SB: {}, SC: {}, @@ -2129,10 +2129,7 @@ const CONST = { regex: /^[A-Z]{2} ?\d{5}$/, samples: 'JQ 80186, CU 46474, DE33738, MS 59107', }, - ST: { - regex: /^[A-Z]{2} ?\d{5}$/, - samples: '87849, 89861, AG 93268, RC88066', - }, + ST: {}, SV: {}, SX: {}, SY: {},