Bug in re.findall()?

Fredrik Lundh fredrik at pythonware.com
Tue May 8 04:15:59 EDT 2001


Jonathan Feinberg wrote:
> [('apple', ''), ('', 'banana'), ('apple', 'banana'), ('', 'banana')]
>                                            ^^^^^^
>                                         should not be!
>
> Am I wrong?

nope.  this is fixed in 2.1, and will also be fixed in the
2.0.1 maintenance upgrade:

    http://sourceforge.net/tracker/index.php?func=detail&aid=217612&group_id=5470&atid=105470

you can also get an update for 2.0 from:

    http://www.pythonware.com/products/sre/index.htm

Cheers /F





More information about the Python-list mailing list