diff --git a/util/extract-names.pl b/util/extract-names.pl index 9f2ad5ef166c7e5c13a4f654dc03db1ac631ef09..744a8e2324e6cc7aaa2641d644ac2cfe1eeeafe8 100644 --- a/util/extract-names.pl +++ b/util/extract-names.pl @@ -10,6 +10,8 @@ while() { if (/ - /) { s/ - .*//; s/,[ \t]+/,/g; + s/^[ \t]+//g; + s/[ \t]+$//g; push @words, split ','; } }