From 720023583d3bf70e002edb92c76eea67546ece17 Mon Sep 17 00:00:00 2001 From: Bojan Zivanovic Date: Mon, 19 Feb 2024 21:33:35 +0100 Subject: [PATCH] Chile's administrative areas are called regions, not provinces. Source: https://www.upu.int/UPU/media/upu/PostalEntitiesFiles/addressingUnit/chlEn.pdf --- formats.go | 1 + 1 file changed, 1 insertion(+) diff --git a/formats.go b/formats.go index 4274415..e17868d 100644 --- a/formats.go +++ b/formats.go @@ -254,6 +254,7 @@ var formats = map[string]Format{ "CL": { Layout: "%1\n%2\n%3\n%P %L\n%R", Required: []Field{FieldLine1, FieldLocality}, + RegionType: RegionTypeRegion, PostalCodePattern: `\d{7}`, Regions: NewRegionMap( "AI", "Aisén del General Carlos Ibáñez del Campo", "AN", "Antofagasta", "AR", "Araucanía",