From 217d36215efeaa9d93147dc01bdfbdd68239a6c8 Mon Sep 17 00:00:00 2001 From: Mike Small Date: Thu, 26 Nov 2020 12:16:34 -0500 Subject: [PATCH] frfac: loosen regex strictness on mp3 file name This goes with the rfi's changes causing the change a couple commits back. --- frfac.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frfac.in b/frfac.in index e07fe85..23f72fe 100755 --- a/frfac.in +++ b/frfac.in @@ -43,7 +43,7 @@ my $latest_episode = pop @episode_links; my @mp3s; sub collect_mp3s { my ($uri, $uri_text) = @_; - push @mp3s, $uri_text if $uri_text =~ /facile_\d+\.mp3$/; + push @mp3s, $uri_text if $uri_text =~ /facile_\d+.*\d+\.mp3$/; } $res = URI::Fetch->fetch($latest_episode) or die URI::Fetch->errstr;