4
0
Эх сурвалжийг харах

Add quote before "@" to eliminate warning message

sbingner 24 жил өмнө
parent
commit
915fb83b40

+ 1 - 1
modules/Pisg/Common.pm

@@ -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);