remove space from dupe checking
authorminima <minima>
Wed, 23 Aug 2000 21:50:18 +0000 (21:50 +0000)
committerminima <minima>
Wed, 23 Aug 2000 21:50:18 +0000 (21:50 +0000)
perl/AnnTalk.pm
perl/Spot.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);
index e06c6cee156960d632781c44caed8b75385693c4..30c0b6270beaf05a2c159e326676fa3fa8753478 100644 (file)
@@ -215,7 +215,7 @@ sub dup
        chomp $text;
        $text = substr($text, 0, $duplth) if length $text > $duplth; 
        unpad($text);
-       $text =~ s/[^ a-zA-Z0-9]//g;
+       $text =~ s/[^a-zA-Z0-9]//g;
        my $dupkey = "X$freq|$call|$d|$text";
        return DXDupe::check($dupkey, $main::systime+$dupage);
 }