Message19234
| Author |
jburgy |
| Recipients |
| Date |
2004年01月14日.11:07:57 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
Logged In: YES
user_id=618572
Since I really needed the functionality described above, I
came up with a broke-around. It's a sufficient replacement,
maybe it belongs in some FAQ:
>>> import re
>>> re.sub('(?im)^$', '\f', 'foo\n\nbar').split('\f')
['foo\n', '\nbar']
Another "magic" byte could replace '\f'...
Regards, Jan |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 14:18:39 | admin | link | issue852532 messages |
| 2007年08月23日 14:18:39 | admin | create |
|