Skip to content

Commit 2b735c1

Browse files
authored
Merge pull request #1663 from openfintechio/feature/PCSDESK-8883-fix-regexp-2
PCSDESK-8883: fix regexp 2
2 parents 73b1166 + 24c3694 commit 2b735c1

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

data/payout_services.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -144428,7 +144428,7 @@
144428144428
{
144429144429
"key": "beneficiary_dob",
144430144430
"type": "string",
144431-
"regexp": "^(?:(?:[0-2][0-9]|(3)[0-1])\/((0)[0-9]|(1)[0-2])\/\\d{4})|(?:\\d{4}-\\d{2}-\\d{2})$",
144431+
"regexp": "\/^(?:(?:[0-2][0-9]|(3)[0-1])\/((0)[0-9]|(1)[0-2])\/\\d{4})|(?:\\d{4}-\\d{2}-\\d{2})$\/",
144432144432
"required": false,
144433144433
"position": 3,
144434144434
"label": {
@@ -144600,7 +144600,7 @@
144600144600
{
144601144601
"key": "account_type",
144602144602
"type": "string",
144603-
"regexp": "[0-1]",
144603+
"regexp": "\/^[0-1]{1}$\/",
144604144604
"required": false,
144605144605
"position": 13,
144606144606
"label": {
@@ -144679,7 +144679,7 @@
144679144679
{
144680144680
"key": "beneficiary_dob",
144681144681
"type": "string",
144682-
"regexp": "^(?:(?:[0-2][0-9]|3[0-1])\/(?:0[1-9]|1[0-2])\/\\d{4})|(?:\\d{4}-\\d{2}-\\d{2})$",
144682+
"regexp": "\/^(?:(?:[0-2][0-9]|(3)[0-1])\/((0)[0-9]|(1)[0-2])\/\\d{4})|(?:\\d{4}-\\d{2}-\\d{2})$\/",
144683144683
"required": false,
144684144684
"position": 3,
144685144685
"label": {
@@ -144851,7 +144851,7 @@
144851144851
{
144852144852
"key": "account_type",
144853144853
"type": "string",
144854-
"regexp": "[0-1]",
144854+
"regexp": "\/^[0-1]{1}$\/",
144855144855
"required": false,
144856144856
"position": 13,
144857144857
"label": {
@@ -144930,7 +144930,7 @@
144930144930
{
144931144931
"key": "beneficiary_dob",
144932144932
"type": "string",
144933-
"regexp": "^(?:(?:[0-2][0-9]|(3)[0-1])\/((0)[0-9]|(1)[0-2])\/\\d{4})|(?:\\d{4}-\\d{2}-\\d{2})$",
144933+
"regexp": "\/^(?:(?:[0-2][0-9]|(3)[0-1])\/((0)[0-9]|(1)[0-2])\/\\d{4})|(?:\\d{4}-\\d{2}-\\d{2})$\/",
144934144934
"required": false,
144935144935
"position": 3,
144936144936
"label": {
@@ -145102,7 +145102,7 @@
145102145102
{
145103145103
"key": "account_type",
145104145104
"type": "string",
145105-
"regexp": "[0-1]",
145105+
"regexp": "\/^[0-1]{1}$\/",
145106145106
"required": false,
145107145107
"position": 13,
145108145108
"label": {
@@ -146171,7 +146171,7 @@
146171146171
{
146172146172
"key": "beneficiary_dob",
146173146173
"type": "string",
146174-
"regexp": "^(?:(?:[0-2][0-9]|(3)[0-1])\/((0)[0-9]|(1)[0-2])\/\\d{4})|(?:\\d{4}-\\d{2}-\\d{2})$",
146174+
"regexp": "\/^(?:(?:[0-2][0-9]|(3)[0-1])\/((0)[0-9]|(1)[0-2])\/\\d{4})|(?:\\d{4}-\\d{2}-\\d{2})$\/",
146175146175
"required": false,
146176146176
"position": 3,
146177146177
"label": {
@@ -146343,7 +146343,7 @@
146343146343
{
146344146344
"key": "account_type",
146345146345
"type": "string",
146346-
"regexp": "[0-1]",
146346+
"regexp": "\/^[0-1]{1}$\/",
146347146347
"required": false,
146348146348
"position": 13,
146349146349
"label": {

0 commit comments

Comments
 (0)