N
Nikola Skoric
Hello everybody,
I'd like to split a file by double newlines, but portably. Now,
splitting by one or more newlines is relatively easy:
self.tables = re.split("[\r\n]+", bulk)
But, how can I split on double newlines? I tried several approaches,
but none worked...
I'd like to split a file by double newlines, but portably. Now,
splitting by one or more newlines is relatively easy:
self.tables = re.split("[\r\n]+", bulk)
But, how can I split on double newlines? I tried several approaches,
but none worked...