|
|
@@ -149,7 +149,7 @@ sub match_urls
|
|
|
$str =~ s/(http:\/\/)?www\./http:\/\/www\./igo;
|
|
|
|
|
|
my @urls;
|
|
|
- while ($str =~ s/(http|https|ftp|telnet|news)(:\/\/[-a-zA-Z0-9_\/~@:]+\.[-a-zA-Z0-9.,_~=:&@%?#\/+]+)//io) {
|
|
|
+ while ($str =~ s/(http|https|ftp|telnet|news)(:\/\/[-a-zA-Z0-9_\/~\@:]+\.[-a-zA-Z0-9.,_~=:&\@%?#\/+]+)//io) {
|
|
|
my $url = "$1$2";
|
|
|
if ($url_seen{$url}) {
|
|
|
push(@urls, $url);
|