Loading util/extract-names.pl +5 −3 Original line number Diff line number Diff line Loading @@ -9,9 +9,11 @@ while(<STDIN>) { } elsif ($name) { if (/ - /) { s/ - .*//; s/,[ \t]+/,/g; s/^[ \t]+//g; s/[ \t]+$//g; s/,\s+/,/g; s/\s+,/,/g; s/^\s+//g; s/\s+$//g; s/\s/_/g; push @words, split ','; } } Loading Loading
util/extract-names.pl +5 −3 Original line number Diff line number Diff line Loading @@ -9,9 +9,11 @@ while(<STDIN>) { } elsif ($name) { if (/ - /) { s/ - .*//; s/,[ \t]+/,/g; s/^[ \t]+//g; s/[ \t]+$//g; s/,\s+/,/g; s/\s+,/,/g; s/^\s+//g; s/\s+$//g; s/\s/_/g; push @words, split ','; } } Loading