Skip to content

Commit

Permalink
fix(ca_qc_districts): Fix articles regex
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Jun 26, 2024
1 parent 207816b commit dce9487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boundaries/ca_qc_districts/definition.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def district_namer(f):
code = f.get('CO_MUNCP')
name = f.get('NM_DIS')

articles_re = re.compile(r"\b(?:d'|de |de l'|du |des )")
articles_re = re.compile(r"\b(?:d'|de (?:l')?|du |des )")

# Sherbrooke
if code == 43027:
Expand Down

0 comments on commit dce9487

Please sign in to comment.