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:38adminlinkissue852532 messages
2007-08-23 14:18:38admincreate