Ignore:
Timestamp:
20 Sep 2023, 09:12:01 (15 months ago)
Author:
Henrik Bettermann
Message:

Fix regular expression

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/interfaces.py

    r17586 r17588  
    8787
    8888#: Regular expression to check jamb_reg_number formats.
    89 check_jamb_reg_number = (
    90     re.compile(r"^\d{12}[A-Z]{3}$").match or
    91     re.compile(r"^\d{12}[A-Z]{2}$").match
    92     )
     89check_jamb_reg_number = re.compile(r"^\d{12}[A-Z]{2,3}$").match
    9390
    9491def validate_jamb_reg_number(value):
Note: See TracChangeset for help on using the changeset viewer.