[Tutor] re.findall vs. re.search and re.match

Max Noel maxnoel_fr at yahoo.fr
Tue Mar 15 23:24:53 CET 2005


On Mar 15, 2005, at 21:59, Liam Clarke wrote:

> On Tue, 15 Mar 2005 17:09:50 +0000, Max Noel <maxnoel_fr at yahoo.fr> 
> wrote:
>>
>
>>         re.findall returns a list object (as the error message says). 
>> Use name
>> = x[1] instead. (and be careful, numbering starts from 0, so this code
>> may contain a Kenobi error).
>>
>
> Kenobi as in Obi Wan?

	As in Off By One (O.B.1), to be more precise. :D

-- Max
maxnoel_fr at yahoo dot fr -- ICQ #85274019
"Look at you hacker... A pathetic creature of meat and bone, panting 
and sweating as you run through my corridors... How can you challenge a 
perfect, immortal machine?"



More information about the Tutor mailing list