[Python-bugs-list] [ python-Bugs-490573 ] re.match('^a*?$', 'foo') fails
noreply@sourceforge.net
noreply@sourceforge.net
Sat, 08 Dec 2001 03:42:45 -0800
Bugs item #490573, was opened at 2001-12-08 03:42
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=490573&group_id=5470
Category: Regular Expressions
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Ben Escoto (bescoto)
Assigned to: Fredrik Lundh (effbot)
Summary: re.match('^a*?$', 'foo') fails
Initial Comment:
I saw some other bugs reported here that may be the
same as this one, but I figured I might as well post:
>>> import re
>>> re.match('^a*?$', 'foo')
<SRE_Match object at 0x8168e00>
This seems to be a relative new bug. v2.0c says:
>>> re.match('^a*?$', 'foo')
>>>
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=490573&group_id=5470