Browse Source

Allow dashes

Zachary Kotlarek 14 years ago
parent
commit
aa507c99f5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      findTorrent.pl

+ 1 - 1
findTorrent.pl

@@ -231,7 +231,7 @@ if (defined($search) && length($search) > 0) {
 	my $safeShow = $show;
 	$safeShow =~ s/\s+\&\s+/ and /i;
 	$safeShow =~ s/^\s*The\b//i;
-	$safeShow =~ s/[^\w\"]+/ /g;
+	$safeShow =~ s/[^\w\"\-]+/ /g;
 	$safeShow =~ s/^\s+//;
 	$safeShow =~ s/\s+$//;
 	$safeShow =~ s/([^A-Za-z0-9])/sprintf("%%%02X", ord($1))/seg;