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

Liam Clarke cyresse at gmail.com
Tue Mar 15 23:34:46 CET 2005


Sheesh. Star wars/programming humour. Better not be any Star Trek
humour, that'll go over my head even further.


On Tue, 15 Mar 2005 22:24:53 +0000, Max Noel <maxnoel_fr at yahoo.fr> wrote:
> 
> 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?"
> 
> 


-- 
'There is only one basic human right, and that is to do as you damn well please.
And with it comes the only basic human duty, to take the consequences.


More information about the Tutor mailing list