Message167228
compare the output of
$ python -c "open('/tmp/tst','w').write(100*'x\n');import re;print len(re.split('\n(?=x)', open('/tmp/tst').read()))"
100
with
$ python -c "open('/tmp/tst','w').write(100*'x\n');import re;print len(re.split('\n(?=x)', open('/tmp/tst').read(), re.MULTILINE))"
9 |
|
Date |
User |
Action |
Args |
2012-08-02 14:58:57 | dabrahams | set | recipients:
+ dabrahams, ezio.melotti, mrabarnett |
2012-08-02 14:58:57 | dabrahams | set | messageid: <1343919537.43.0.272512350755.issue15537@psf.upfronthosting.co.za> |
2012-08-02 14:58:56 | dabrahams | link | issue15537 messages |
2012-08-02 14:58:56 | dabrahams | create | |
|