1. Luke Plant
  2. django-anonymizer

Commits

Luke Plant  committed 8ea98b1

Better detection for phone numbers

  • Participants
  • Parent commits bb5eac4
  • Branches default

Comments (0)

Files changed (1)

File anonymizer/introspect.py

View file
     (r'(\b|_)zipcode\d*', '"zip_code"'),
     (r'(\b|_)zip_code\d*', '"zip_code"'),
     (r'(\b|_)telephone\d*', '"phonenumber"'),
+    (r'(\b|_)phone\d*', '"phonenumber"'),
     (r'(\b|_)mobile\d*', '"phonenumber"'),
     (r'(\b|_)tel\d*\b', '"phonenumber"'),
     (r'(\b|_)state\d*\b', '"state"'),