Searching for programmes which start with a number

Paul Oldham paul at the-hug.org
Wed Nov 15 13:26:13 PST 2017


On 2017-11-15 21:08, Derek Kaye wrote:

> On 15/11/17 20:56, Paul Oldham wrote:
>> This seems to be true of any programme starting with a number ("15
>> Minute Drama" for example, or "40 Years of The News Quiz") however it
>> does match on programme names which begin with a numeric but aren't
>> numbers ("2Tone Taxi" for example).
>> 
>> Do I have to do some sort of clever quoting to get around this or is
>> it a bug? Thanks.
> 
> You can treat it as a regular expression and search for ^15 for 
> example.
> If you just use a number it will treat it as an ID.

Aha, I didn't know I could use regexs there. Super, that solves the 
problem nicely. Thank you.

-- 
Paul



More information about the get_iplayer mailing list