Re: 'My indexing' broken by 3.07

2017-12-16 Thread Charles Johnson
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

Re: 'My indexing' broken by 3.07

2017-12-16 Thread Ralph Corderoy
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

Re: 'My indexing' broken by 3.07

2017-12-16 Thread Charles Johnson
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

Re: 'My indexing' broken by 3.07

2017-12-16 Thread Ralph Corderoy
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

Re: 'My indexing' broken by 3.07

2017-12-16 Thread Charles Johnson
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?

Re: 'My indexing' broken by 3.07

2017-12-16 Thread Mark Carroll
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) >

'My indexing' broken by 3.07

2017-12-16 Thread Charles Johnson
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)