Skip to content

Commit

Permalink
Handle edge cases where zipcode is supplied without a space
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismostert committed Apr 25, 2024
1 parent 7d39790 commit cc91e5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/csv_write.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
]
PROTOCOL_VERSION = "EP2024"

ZIP_CODE_PATTERN = re.compile(r"\(postcode: \d{4} [A-Z]{2}\)")
ZIP_CODE_PATTERN = re.compile(r"\(postcode: \d{4} ?[A-Z]{2}\)")
STEMBUREAU_PREFIX_PATTERN = re.compile(r"^Stembureau Stembureau")


Expand Down

0 comments on commit cc91e5a

Please sign in to comment.