projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
take only alphanum chars for dupe checking
[spider.git]
/
perl
/
Spot.pm
diff --git
a/perl/Spot.pm
b/perl/Spot.pm
index e7a619e0c7e0e42b272b35e2ed1175d5ef3b7103..e06c6cee156960d632781c44caed8b75385693c4 100644
(file)
--- a/
perl/Spot.pm
+++ b/
perl/Spot.pm
@@
-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);
}