diff --git a/gatherstats.pl b/gatherstats.pl index d2d4faa..6e41485 100755 --- a/gatherstats.pl +++ b/gatherstats.pl @@ -85,9 +85,15 @@ if ($Conf{'TLH'}) { } # strip whitespace $TLH =~ s/\s//g; + # add trailing dots if none are present yet + # (using negative look-behind assertions) + $TLH =~ s/(?