From a6419bffa6ff3404f2ea474ea637dfc516cb3d78 Mon Sep 17 00:00:00 2001 From: tarun khanna Date: Wed, 24 Apr 2024 23:55:54 +0530 Subject: [PATCH 1/2] [fix]: singapore validation regex fixed --- .../src/modules/phoneNumber/data/phoneRegexMapper.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/i18nify-js/src/modules/phoneNumber/data/phoneRegexMapper.json b/packages/i18nify-js/src/modules/phoneNumber/data/phoneRegexMapper.json index b3287e88..55b7ad93 100644 --- a/packages/i18nify-js/src/modules/phoneNumber/data/phoneRegexMapper.json +++ b/packages/i18nify-js/src/modules/phoneNumber/data/phoneRegexMapper.json @@ -199,7 +199,7 @@ "RS": "^(?:(?:\\+381)|0)([0-6]|[7][012345])[0-9]{5,10}$", "SC": "^(?:(?:\\+248)|\\d{4})\\d{5}$", "SL": "^(?:(?:\\+232)|(?:0))?\\d{9}$", - "SG": "^(?:(?:\\+65)|(?:\\(\\+65\\))|(?:65))\\d{4}\\d{4}$", + "SG": "^(?:(?:\\+65)|(?:\\(\\+65\\))|(?:65))?\\d{4}\\d{4}$", "SX": "^(?:\\+1-721)?\\d{7}$", "SK": "^(?:(?:\\+421))?(0|9[0-8])\\d{8}$", "SI": "^(?:(?:\\+386)|0)?[1-59]\\d{7,8}$", From bb986489012afa6a0b502d6b8b42c64ba90980bf Mon Sep 17 00:00:00 2001 From: Tarun Khanna Date: Wed, 24 Apr 2024 23:59:09 +0530 Subject: [PATCH 2/2] Create big-zoos-repair.md --- .changeset/big-zoos-repair.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/big-zoos-repair.md diff --git a/.changeset/big-zoos-repair.md b/.changeset/big-zoos-repair.md new file mode 100644 index 00000000..44b6588e --- /dev/null +++ b/.changeset/big-zoos-repair.md @@ -0,0 +1,5 @@ +--- +"@razorpay/i18nify-js": patch +--- + +[fix]: singapore validation regex fixed