Date: prev next · Thread: first prev next last
2020 Archives by date, by thread · List index

On Fri, Apr 17, 2020 at 03:49:47PM +1200, Steve Edmonds composed:

If there are multiple line breaks between your sections you can get what
you want in 3 passes.
Replace $$ with *-* say (assuming *-* isn't in your text).
Replace $ with "" globally.
Replace *-* with \n

There is bound to be a more elegant solution.

In my case a slight variation of the above works:
Replace ^$ with *-*
Replace $ with space
Replace \*-\* (asterisks escaped) with \n

I'm getting the idea, thanks everyone.


To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
Privacy Policy:


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.