aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmake-manuf4
1 files changed, 2 insertions, 2 deletions
diff --git a/make-manuf b/make-manuf
index 1a53e3086e..9a68636023 100755
--- a/make-manuf
+++ b/make-manuf
@@ -45,11 +45,11 @@ sub shorten
my $origmanuf = shift;
my $manuf = " " . $origmanuf . " ";
# Remove any punctuation
- $manuf =~ tr/,.()/ /;
+ $manuf =~ tr/',.()/ /;
# & isn't needed when Standalone
$manuf =~ s/ \& / /g;
# Remove any "the", "inc", "plc" ...
- $manuf =~ s/\s(the|inc|incorporated|plc||systems|corp|corporation|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)(?= )//gi;
# Convert to consistent case
$manuf =~ s/(\w+)/\u\L$1/g;
# Remove all spaces