db/data/regions/CL.yml in worldwide-1.10.0 vs db/data/regions/CL.yml in worldwide-1.11.0
- old
+ new
@@ -14,9 +14,11 @@
format:
edit: "{country}_{firstName}{lastName}_{company}_{address1}_{address2}_{zip}{city}_{province}_{phone}"
show: "{firstName} {lastName}_{company}_{address1}_{address2}_{zip} {city}_{province}_{country}_{phone}"
format_extended:
edit: "{country}_{firstName}{lastName}_{company}_{streetName}{streetNumber}_{line2}{neighborhood}_{zip}{city}_{province}_{phone}"
+address1_regex:
+ - "^(?<streetName>[^\\d,]+?),? (?<streetNumber>(?:n|n\\.|nº|número|no\\.|no|#)? ?\\d+(?: ?[a-z])?)$"
additional_address_fields:
- name: streetName
required: true
- name: streetNumber
- name: line2