[ #456742 ] Failing test case for .*?

Darrell dgallion1 at yahoo.com
Sat Nov 3 05:40:37 CET 2001


Python 2.2b1 (#25, Oct 19 2001, 11:44:52) [MSC 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import re
>>> s="""a\nb\n1"""
>>> re.findall("[^\n]+?\d", s)
['a\nb\n1']

Didn't get a response posting this on sourceforge.
Now I'm off on vaction for a week.

--Darrell Gallion



More information about the Python-list mailing list