This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author iritkatriel
Recipients andrei.avk, cheryl.sabella, iritkatriel, larry, mdk, serhiy.storchaka
Date 2021-08-03.17:06:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1628010415.99.0.131290058933.issue32397@roundup.psfhosted.org>
In-reply-to
Content
You should be able to do them in one re, something like 

text = re.sub(r' ?\n', ' ', text)
History
Date User Action Args
2021-08-03 17:06:56iritkatrielsetrecipients: + iritkatriel, larry, serhiy.storchaka, mdk, cheryl.sabella, andrei.avk
2021-08-03 17:06:55iritkatrielsetmessageid: <1628010415.99.0.131290058933.issue32397@roundup.psfhosted.org>
2021-08-03 17:06:55iritkatriellinkissue32397 messages
2021-08-03 17:06:55iritkatrielcreate