Mbonea commited on
Commit
212bed8
·
1 Parent(s): 791ecff

PHONE_PATTERN = r"^255\d{9}$"

Browse files
Files changed (1) hide show
  1. App/Users/Schema.py +1 -1
App/Users/Schema.py CHANGED
@@ -7,7 +7,7 @@ from decimal import Decimal
7
  pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
8
 
9
  # Constants for phone and MAC address patterns
10
- PHONE_PATTERN = r"^(?:\255|0)\d{9}$"
11
  MAC_PATTERN = r"^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$"
12
 
13
 
 
7
  pwd_context = CryptContext(schemes=["bcrypt"], deprecated="auto")
8
 
9
  # Constants for phone and MAC address patterns
10
+ PHONE_PATTERN = r"^255\d{9}$"
11
  MAC_PATTERN = r"^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$"
12
 
13