ソースを参照

No, we need that limit

Zachary Kotlarek 14 年 前
親
コミット
1933aeab66
1 ファイル変更、1 行追加、1 行削除
  1. 1 1
      findTorrent.pl

+ 1 - 1
findTorrent.pl

@@ -534,7 +534,7 @@ $showRegex =~ s/[\W_]+/\[\\W_\].*/g;
 foreach my $tor (@tors) {
 foreach my $tor (@tors) {
 
 
 	# Skip files that don't start with our show title
 	# Skip files that don't start with our show title
-	if (!($tor->{'title'} =~ /${showRegex}[\W_]/i)) {
+	if (!($tor->{'title'} =~ /^${showRegex}[\W_]/i)) {
 		if ($DEBUG) {
 		if ($DEBUG) {
 			print STDERR 'Skipping file: Title does not match (' . $showRegex . '): ' . $tor->{'title'} . "\n";
 			print STDERR 'Skipping file: Title does not match (' . $showRegex . '): ' . $tor->{'title'} . "\n";
 		}
 		}