diff --git a/otlmow_model/OtlmowModel/Classes/ImplementatieElement/AIMNaamObject.py b/otlmow_model/OtlmowModel/Classes/ImplementatieElement/AIMNaamObject.py index 679a16971..ea58a85bd 100644 --- a/otlmow_model/OtlmowModel/Classes/ImplementatieElement/AIMNaamObject.py +++ b/otlmow_model/OtlmowModel/Classes/ImplementatieElement/AIMNaamObject.py @@ -14,7 +14,7 @@ def __init__(self, naam: str, label: str, objectUri: str, definition: str, owner @classmethod def validate(cls, value, attribuut) -> bool: if StringField.validate(value, attribuut): - return re.match('^[a-zA-Z0-9.\-_]*$', value) is not None + return re.match(r'^[a-zA-Z0-9.\-_]*$', value) is not None else: return False