else {
gsub(" \\(Other\\)$", "", name);
gsub(" languages$", "", name);
- if (name ~ /\\(.*[0-9].*\\)$/)
+ if (name ~ /\(.*[0-9].*\)$/) {
gsub(" \\([^)]*\\)$", "", name);
+ }
if (name ~ ", ") {
split(name,array2,", ");
name = array2[2] " " array2[1];
gsub(", autres$", "", name);
gsub(", langues$", "", name);
gsub(", langues (famille)$", "", name);
- if (name ~ /\\(.*[0-9].*\\)$/)
+ if (name ~ /\(.*[0-9].*\)$/)
gsub(" \\([^)]*\\)$", "", name);
if (name ~ ", ") {
split(name,array2,", ");
gsub("; .*", "", name);
gsub(" \\(Other\\)$", "", name);
gsub(" languages$", "", name);
- if (name ~ /\\(.*[0-9].*\\)$/)
+ if (name ~ /\(.*[0-9].*\)$/)
gsub(" \\([^)]*\\)$", "", name);
if (name ~ ", ") {
split(name,array,", ");