take only alphanum chars for dupe checking
[spider.git] / perl / Spot.pm
index e7a619e0c7e0e42b272b35e2ed1175d5ef3b7103..e06c6cee156960d632781c44caed8b75385693c4 100644 (file)
@@ -215,6 +215,7 @@ sub dup
        chomp $text;
        $text = substr($text, 0, $duplth) if length $text > $duplth; 
        unpad($text);
+       $text =~ s/[^ a-zA-Z0-9]//g;
        my $dupkey = "X$freq|$call|$d|$text";
        return DXDupe::check($dupkey, $main::systime+$dupage);
 }