Update default.yaml

This commit is contained in:
Nacim
2025-06-24 13:25:14 +02:00
committed by GitHub
parent e11c62e5a8
commit ade44ffdfe

View File

@@ -58,7 +58,7 @@ recognizer_registry:
supported_entity: CUSTOM_PHONE_BE # Nouvelle entité pour éviter les conflits
patterns:
- name: Belgian Phone Pattern (+32 + 8 or 9 digits)
regex: "\\b(?:\\+|00)32(?:[\\s.-]?\\d){8,9}\\b"
regex: "^(((\+|00)32[ ]?(?:\(0\)[ ]?)?)|0){1}(4(60|[789]\d)\/?(\s?\d{2}\.?){2}(\s?\d{2})|(\d\/?\s?\d{3}|\d{2}\/?\s?\d{2})(\.?\s?\d{2}){2})$"
score: 1.0
context: ["téléphone", "tel", "gsm", "mobile"]