From 581388fab4457fdf6b6bd26e14dbb74b8e20a8d0 Mon Sep 17 00:00:00 2001 From: 0x4f53 <71916237+0x4f53@users.noreply.github.com> Date: Tue, 14 Nov 2023 08:34:44 +0300 Subject: [PATCH] fixed some definitions --- definitions.json | 79 ++++++++++++++++++++++++++---------------------- 1 file changed, 43 insertions(+), 36 deletions(-) diff --git a/definitions.json b/definitions.json index a1eee90..3629fc7 100644 --- a/definitions.json +++ b/definitions.json @@ -1,10 +1,10 @@ { - "Email":{ + "Email": { "regex":"[A-Za-z0-9._+\\-\\']+@[A-Za-z0-9.\\-]+\\.[A-Za-z]{2,}", "region":null, "keywords":null }, - "Phone Number":{ + "Phone Number": { "regex":"((\\+\\d{1,2}\\s)?\\(?\\d{3}\\)?[\\s.-]\\d{3}[\\s.-]\\d{4}|[0-9]{10}|\\+{1}[0-9 ]{11,15}|[0-9]{4} [0-9]{6})", "region":null, "keywords":[ @@ -30,7 +30,7 @@ "regex": ["\\b(?:\\d{4}[ -]?){3}(?=\\d{4}\\b)(?:\\d{4})"], "region": null }, - "Aadhaar Card":{ + "Aadhaar Card": { "regex":"([0-9]{4} [0-9]{4} [0-9]{4}|[0-9]{4}-[0-9]{4}-[0-9]{4}|[0-9]{12})", "region":"India", "keywords":[ @@ -49,7 +49,7 @@ "regex": "[A-Z]{5}?[0-9]{4}[A-Z]", "region": "India" }, - "Election Photo ID Card":{ + "Election Photo ID Card": { "regex":"[A-Za-z]{3}[0-9]{7}", "region":"India", "keywords":[ @@ -61,7 +61,7 @@ "Constituency" ] }, - "Social Security Number":{ + "Social Security Number": { "regex":"[0-9]{3}-[0-9]{2}-[0-9]{3,4}", "region":"United States", "keywords":[ @@ -71,7 +71,7 @@ "Security" ] }, - "Social Insurance Number":{ + "Social Insurance Number": { "regex":"([0-9]{3}-[0-9]{3}-[0-9]{3}|[0-9]{3} [0-9]{3} [0-9]{3})", "region":"Canada", "keywords":[ @@ -83,7 +83,7 @@ "Canada" ] }, - "Permanent Resident Card":{ + "Permanent Resident Card": { "regex":"^([0-9]{4}-[0-9]{4})$", "region":"Canada", "keywords":[ @@ -95,7 +95,7 @@ "Canada" ] }, - "Permanent Identity Card":{ + "Permanent Identity Card": { "regex":"^([0-9]{4}-[0-9]{4})$", "region":"Hong Kong", "keywords":[ @@ -105,7 +105,7 @@ "Hong Kong" ] }, - "Resident ID Card":{ + "Resident ID Card": { "regex":"[0-9]{6}20[0-9]{2}[0-1][0-9][0-3][0-9][0-9]{3}[0-9]{1,2}", "region":"China", "keywords":[ @@ -123,7 +123,7 @@ "<<<<" ] }, - "Indian Passport":{ + "Indian Passport": { "regex":"(?:P