limit to US phone number

This commit is contained in:
Frank Xu
2026-01-20 17:50:46 -05:00
parent d614a8115c
commit c48b0bf903

View File

@@ -1,20 +1,20 @@
db_files = [
# "test2.db",
# "users.db",
# "A1_commerce.db",
# "A1_msgstore.db",
# "A1_wa.db",
# "A2_core.db",
# "A2_journal.db",
# "A2_main.db",
# "A3_account1cache4.db",
# "A3_account2cache4.db",
# "A3_account3cache4.db",
# "A4_gmm_myplaces.db",
# "A4_gmm_storage.db",
# "A4_peopleCache_sharononeil368@gmail.com_com.google_14.db",
# "A5_SBrowser.db",
# "A5_SBrowser2.db",
"A1_commerce.db",
"A1_msgstore.db",
"A1_wa.db",
"A2_core.db",
"A2_journal.db",
"A2_main.db",
"A3_account1cache4.db",
"A3_account2cache4.db",
"A3_account3cache4.db",
"A4_gmm_myplaces.db",
"A4_gmm_storage.db",
"A4_peopleCache_sharononeil368@gmail.com_com.google_14.db",
"A5_SBrowser.db",
"A5_SBrowser2.db",
"A5_searchengine.db",
"I1_CallHistory.sqlite",
"I1_ChatStorage.sqlite",
@@ -35,9 +35,9 @@ PII_CONFIG = {
"desc": "a unique identifier for a destination to which electronic mail (email) can be sent and received over the internet or a private network"
},
"PHONE": {
"type":"phone number",
"type":"US phone number",
"regex": r"\+?[0-9]{1,4}[- .]?\(?[0-9]{1,3}?\)?[- .]?[0-9]{1,4}[- .]?[0-9]{1,4}[- .]?[0-9]{1,9}",
"desc": "a unique sequence of digits assigned to a specific telephone line or mobile device within a public or private telephone network"
"desc": "a US phone number is a 10-digit NANP number (area code + exchange + line) that may be written as 2023133725, 202-313-3725, (202) 313-3725, 202.313.3725, +1 202 313 3725, or 1-202-313-3725"
},
"USERNAME": {
"type":"username",