Message19230
| Author |
jburgy |
| Recipients |
| Date |
2003年12月02日.11:01:38 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
Python 2.3.2 (#49, Oct 2 2003, 20:02:00) [MSC v.1200
32 bit (Intel)] on win32
>>> import re
>>> re.compile('^$', re.MULTILINE).split('foo\n\nbar')
['foo\n\nbar']
I expect ['foo\n', '\nbar'], since, according to the
documentation $ "in MULTILINE mode also matches
before a newline".
Thanks, Jan |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 14:18:38 | admin | link | issue852532 messages |
| 2007年08月23日 14:18:38 | admin | create |
|