On 25/10/2020 10:29, Chris Walker wrote:
I wanted to only download series 18 or later of Mock the Week so cobbled
together this :-

get_iplayer "Mock the Week: Series \b(1[8-9]|2[0-9])\b"

It will run manually but not when run as part of the pvr. Substituting
single quotes for doubles made it work. Any ideas why?

Because, as with bash, Perl treats the contents of single quotes literally, while it interprets the contents of double quotes. What exact misinterpretation of the double quoted example is making it fail, I'm not enough of a Perl expert to be certain, but almost certainly that'll be why.



_______________________________________________
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer

Reply via email to