Commit b0ccb8f0 by Yvon

replace supercafoutch broken phone number matching pattern by one which allows…

replace supercafoutch broken phone number matching pattern by one which allows foreign phone numbers
parent 3f1b6284
Pipeline #3391 failed with stage
in 1 minute 6 seconds
......@@ -129,7 +129,9 @@ SHIFT_INFO = """Un service est une plage de trois heures un jour en particulier
PB_INSTRUCTIONS = """Si j'ai un problème, que je suis désinscrit, que je veux changer de créneaux ou quoi que ce soit, merci de ..."""
ENTRANCE_COME_FOR_SHOPING_MSG = "Bienvenue dans ton magasin !"
INPUT_PHONE_PATTERN = "^(((\+33(-| )\d{1})|\d{2})(\.| )\d{2}(\.| )\d{2}(\.| )\d{2}(\.| )\d{2})|(0\d{9})$"
#Regex stricte pour les numéros de téléphone français sur 10 chiffres
#et permissive pour les numéros commençant par + ou 00
INPUT_PHONE_PATTERN = "((\+|00)\d{5,30})|\d{10}"
CONFIRME_PRESENT_BTN = 'Clique ici pour valider ta présence'
ENTRANCE_WITH_LATE_MODE = True
# Members space / shifts
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment