Skip to content

Commit

Permalink
Another VIN regex fix (#614)
Browse files Browse the repository at this point in the history
  • Loading branch information
rikroe authored Apr 30, 2024
1 parent d9fbf14 commit 865df88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bimmer_connected/api/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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<vin>[(A-H|J-N|P|R-Z|0-9)]{3}[\w\d]{14})")
RE_VIN = re.compile(r"(?P<vin>[(A-H|J-N|P|R-Z|0-9)]{3}[A-Z0-9]{14})")
ANONYMIZED_VINS: Dict[str, str] = {}


Expand Down

0 comments on commit 865df88

Please sign in to comment.