New submission from Misha Seltzer <[EMAIL PROTECTED]>: 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'] ---------- components: Regular Expressions messages: 71323 nosy: misha severity: normal status: open title: Bad parsing of compiling regex with re.MULTILINE type: behavior versions: Python 2.4, Python 2.5 _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3587> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com