[Python-bugs-list] [ python-Bugs-483789 ] another *? greedy bug

noreply@sourceforge.net noreply@sourceforge.net
Sun, 09 Dec 2001 08:17:29 -0800


Bugs item #483789, was opened at 2001-11-20 06:15
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=483789&group_id=5470

Category: Regular Expressions
Group: Python 2.2
>Status: Closed
>Resolution: Fixed
Priority: 7
Submitted By: Bastian Kleineidam (calvin)
Assigned to: Fredrik Lundh (effbot)
Summary: another *? greedy bug

Initial Comment:
Hm, it took me one hour debugging until I reached
the regex level of my application :)

Python 2.2b2 (#26, Nov 16 2001, 11:44:11) [MSC 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for
more information.
>>> re.search(r"a[^>]*?b", "a>b")
<SRE_Match object at 0x007CB680>

----------------------------------------------------------------------

>Comment By: Fredrik Lundh (effbot)
Date: 2001-12-09 08:17

Message:
Logged In: YES 
user_id=38376

backed out of broken patch from July 2001.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=483789&group_id=5470