Message71323
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'] |
|
Date |
User |
Action |
Args |
2008-08-18 12:02:23 | misha | set | recipients:
+ misha |
2008-08-18 12:02:23 | misha | set | messageid: <1219060943.01.0.111673832239.issue3587@psf.upfronthosting.co.za> |
2008-08-18 12:02:22 | misha | link | issue3587 messages |
2008-08-18 12:02:22 | misha | create | |
|