Irit Katriel <[email protected]> added the comment:
You should be able to do them in one re, something like text = re.sub(r' ?\n', ' ', text) ---------- nosy: +iritkatriel _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue32397> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
