[Python-bugs-list] [ python-Bugs-408936 ] Python2.0 re module: greedy regexp bug 2

noreply@sourceforge.net noreply@sourceforge.net
Tue, 10 Apr 2001 05:52:36 -0700


Bugs item #408936, was updated on 2001-03-15 13:59
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=408936&group_id=5470

Category: None
Group: None
Status: Open
Priority: 5
Submitted By: Bastian Kleineidam (calvin)
Assigned to: Fredrik Lundh (effbot)
Summary: Python2.0 re module: greedy regexp bug 2

Initial Comment:
Yeah, try this:
re.search(r"<!--.*?--\s*>", "<!--- bla --->")
and it does not match, but it should match, no?
In more complicated examples I even get infinite
recursion,
if youre interested, I will make a script for this.

The above example should be in the Regression Test
Suite.

Look also at [ #405358 ] Python2.0 re module: greedy
regexp bug,
perhaps this is somehow related? I dont know.


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

Comment By: Michael Hudson (mwh)
Date: 2001-04-10 05:52

Message:
Logged In: YES 
user_id=6656

Works for me in recent builds, so I guess it's fixed.

Someone want to mark it closed?

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

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