Python Challenge ahead [NEW] for riddle lovers

Reinhold Birkenfeld reinhold-birkenfeld-nospam at wolke7.net
Mon May 2 15:17:00 EDT 2005


darren kirby wrote:
> quoth the Ganesan Rajagopal:
>> I am stuck on level 3. I've tried every re that I can think of. Some body
>> give me a clue.
>>
>> Ganesan
>>
>> --
>> Ganesan Rajagopal
> 
>>>> t = /text of page source.../
>>>> re.findall('[a-z][A-Z]{3}[a-z]{1}[A-Z]{3}[a-z]', t)
> 
> You should get ten results. Consider all ten together to get your solution...

Somehow writing '[a-z]{1}' is strange...

Reinhold



More information about the Python-list mailing list