remove space from dupe checking
[spider.git] / perl / AnnTalk.pm
index 84aa55ed8b4158c92536c25178baf8d170125897..658c21b82ee52380b0c1b49735bf018774cd9074 100644 (file)
@@ -26,7 +26,7 @@ sub dup
 
        chomp $text;
        unpad($text);
-       $text =~ s/[^ a-zA-Z0-9]//g;
+       $text =~ s/[^a-zA-Z0-9]//g;
        $text = substr($text, 0, $duplth) if length $text > $duplth; 
        my $dupkey = "A$to|$text";
        return DXDupe::check($dupkey, $main::systime + $dupage);