diff --git a/bimmer_connected/api/utils.py b/bimmer_connected/api/utils.py index f4802f13..d40135c3 100644 --- a/bimmer_connected/api/utils.py +++ b/bimmer_connected/api/utils.py @@ -23,7 +23,7 @@ from bimmer_connected.models import AnonymizedResponse, MyBMWAPIError, MyBMWAuthError, MyBMWQuotaError UNICODE_CHARACTER_SET = string.ascii_letters + string.digits + "-._~" -RE_VIN = re.compile(r"(?P[(A-H|J-N|P|R-Z|0-9)]{3}[\w\d]{14})") +RE_VIN = re.compile(r"(?P[(A-H|J-N|P|R-Z|0-9)]{3}[A-Z0-9]{14})") ANONYMIZED_VINS: Dict[str, str] = {}