Python Challenge ahead [NEW] for riddle lovers

Ganesan Rajagopal rganesan at myrealbox.com
Tue May 3 00:03:47 EDT 2005


>>>>> "darren" == darren kirby <bulliver at badcomputer.org> writes:

> 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...

Ah, thanks. I tried having both sides identical, no results. Then I tried
the above re but stopped at the first result :-(.

Ganesan

-- 
Ganesan Rajagopal





More information about the Python-list mailing list