dont mangle blocks of text that just happen to start with http:/ ... add a test case for this. Fix is a bit of a hack, but the alternative is to not use re.split() because it cannot distinguish between a match and a non-match.