ashhal commited on
Commit
a11bd3b
·
verified ·
1 Parent(s): 358be25

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -791,7 +791,7 @@ ocr_service = OCRService()
791
 
792
  # Helper functions (unchanged)
793
  def validate_phone_number(phone):
794
- pattern = r'^\+\d{1,3}\d{6,14}
795
  return re.match(pattern, phone) is not None
796
 
797
  def validate_password(password):
 
791
 
792
  # Helper functions (unchanged)
793
  def validate_phone_number(phone):
794
+ pattern = r'^\+\d{1,3}\d{6,14}$' # Added missing closing quote and $
795
  return re.match(pattern, phone) is not None
796
 
797
  def validate_password(password):