get_iplayer --type=radio --refresh >$RADIO_FILE
was the content of a script with which i built myself a text index of
programmes (there was possibly a more efficient way to derive the index
from the cache?). That no longer works in 3.07.
This is what i get
get_iplayer v3.07, Copyright (C) 20
On 16 Dec 2017, Charles Johnson wrote:
> get_iplayer --type=radio --refresh >$RADIO_FILE
>
> was the content of a script with which i built myself a text index of
> programmes (there was possibly a more efficient way to derive the index
> from the cache?). That no longer works in 3.07.
(snip)
>
On 16/12/17 13:39, Mark Carroll wrote:
] If you wish to list all programmes, you must now explicitly specify a
] wildcard search: get_iplayer ".*" - note the quotes.
-- Mark
Thanks so much for that Mark. That looks like a regex. Is it, do you know?
___
Hi Charles,
> > ] wildcard search: get_iplayer ".*" - note the quotes.
>
> Thanks so much for that Mark. That looks like a regex. Is it, do you know?
Yes. `^' also suffices.
--
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy
___
get_iplayer ma
On 16/12/17 14:14, Ralph Corderoy wrote:
Yes. `^' also suffices.
Interesting. I wonder if 'match beginning of the line' is less expensive
internally?
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/
Hi Charles,
> > Yes. `^' also suffices.
>
> Interesting. I wonder if 'match beginning of the line' is less
> expensive internally?
Perl's regexp engine is historically extremely good at spotting
optimisations, and some of those details can be seen with its -D option
if perl is compiled suitably,
On 16/12/17 14:35, Ralph Corderoy wrote:
But in this case, I think `^' is cheaper.
Well done you! My instincts told me that it might be cheaper ;)
___
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listin
7 matches
Mail list logo