X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FSpot.pm;h=28a8dd7201a9690abb654aba76cec1cb75c2b0b6;hb=1478505310c54aa2d6222d12ec129547ab561eb6;hp=420025e6ed8f0d1445f5fd8ec5cfc85e1ce9a275;hpb=2177bb0e95a5ec8797f5a0d47bd2070666a92653;p=spider.git diff --git a/perl/Spot.pm b/perl/Spot.pm index 420025e6..28a8dd72 100644 --- a/perl/Spot.pm +++ b/perl/Spot.pm @@ -250,7 +250,7 @@ sub ftor while (@b) { my $aa = shift @a; my $bb = shift @b; - if (@b < (length $d) - 1) { + if (@b < (length $d)) { $out .= '\\d'; } elsif ($aa eq $bb) { $out .= $aa;