From 58fadc557513b926e77b3b0226dd5c43dc9efce8 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Fri, 27 Oct 2023 00:15:55 +0200 Subject: [PATCH] countries: ignore capitalised "The" in geonames data Name for nl recently changed to "The Netherlands". Why they changed it I can't say... --- tools/mkcountries-geonames | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mkcountries-geonames b/tools/mkcountries-geonames index 56f85c4..0915863 100755 --- a/tools/mkcountries-geonames +++ b/tools/mkcountries-geonames @@ -86,7 +86,7 @@ for (values %cc) { s/(?<=.)\(.*\)\s*//; s/ republic\b//gi; s/ islands?\b//gi; - s/\bthe //g; + s/\bthe //gi; s/ and / & /g and s/(?<=.)[a-z ]+//g; s/ of / /g; s/\bsa?int /st /gi; -- 2.30.0