This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author misha
Recipients misha
Date 2008-08-18.12:02:21
SpamBayes Score 0.042585883
Marked as misclassified No
Message-id <1219060943.01.0.111673832239.issue3587@psf.upfronthosting.co.za>
In-reply-to
Content
import re
regex = r"[\w]+"

# Normal behaviour:
>>> re.findall(regex, "hello world", re.M)
['hello', 'world']
>>> re.compile(regex).findall("hello world")
['hello', 'world']

# Bug behaviour:
>>> re.compile(regex).findall("hello world", re.M)
['rld']
History
Date User Action Args
2008-08-18 12:02:23mishasetrecipients: + misha
2008-08-18 12:02:23mishasetmessageid: <1219060943.01.0.111673832239.issue3587@psf.upfronthosting.co.za>
2008-08-18 12:02:22mishalinkissue3587 messages
2008-08-18 12:02:22mishacreate