Zachary Kotlarek 14 лет назад
Родитель
Сommit
d35d818113
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      findTorrent.pl

+ 1 - 1
findTorrent.pl

@@ -425,7 +425,7 @@ foreach my $tr (@trs) {
 	# Extract the size
 	# Extract the size
 	my $size = 0;
 	my $size = 0;
 	my $unit = 'M';
 	my $unit = 'M';
-	if ($tr =~ m/(\d+\.\d+)\&nbsp\;(G|M)iB\<\/[tT][dD]\>/) {
+	if ($tr =~ m/(\d+(?:\.\d+)?)\&nbsp\;(G|M)iB\<\/[tT][dD]\>/) {
 		$size = $1;
 		$size = $1;
 		$unit = $2;
 		$unit = $2;
 		if ($unit eq 'G') {
 		if ($unit eq 'G') {