Just> Skip Montanaro wrote:
>> Just re.sub("[\r\n]+", "\n", s) and I think you're good to go.
Just> I don't think that in general you want to fold multiple empty
Just> lines into one.
Back to the thread
Back to the list