Add holding|spa to the strings removed from manuf names.

manuf will be automatically rebuilt on Sunday.

svn path=/trunk/; revision=28965
This commit is contained in:
Anders Broman 2009-07-07 05:10:20 +00:00
parent 54965169c2
commit f36b964d63
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ sub shorten
# & isn't needed when Standalone
$manuf =~ s/ \& / /g;
# Remove any "the", "inc", "plc" ...
$manuf =~ s/\s(the|inc|incorporated|plc||systems|corp|corporation|s\/a|a\/s|ab|ag|kg|gmbh|co|company|limited|ltd)(?= )//gi;
$manuf =~ s/\s(the|inc|incorporated|plc||systems|corp|corporation|s\/a|a\/s|ab|ag|kg|gmbh|co|company|limited|ltd|holding|spa)(?= )//gi;
# Convert to consistent case
$manuf =~ s/(\w+)/\u\L$1/g;
# Remove all spaces