Skip to content

Commit

Permalink
[fix]: singapore validation regex fixed (#128)
Browse files Browse the repository at this point in the history
* [fix]: singapore validation regex fixed

* Create big-zoos-repair.md
  • Loading branch information
tarun-khanna authored Apr 25, 2024
1 parent 632803c commit eb5a756
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/big-zoos-repair.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@razorpay/i18nify-js": patch
---

[fix]: singapore validation regex fixed
Original file line number Diff line number Diff line change
Expand Up @@ -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}$",
Expand Down

0 comments on commit eb5a756

Please sign in to comment.