countries: ignore capitalised "The" in geonames data
[sheet.git] / tools / mkcountries-geonames
index 56f85c41f0d921bfe1a5b88ae46cff534b35cf6c..09158634dd12f7381653c62d0e6779a82ea4e2d7 100755 (executable)
@@ -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;