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

Liam Clarke cyresse at gmail.com
Tue Mar 15 22:59:54 CET 2005


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?



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