https://bugs.documentfoundation.org/show_bug.cgi?id=165171

Mike Kaganski <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |NOTABUG

--- Comment #3 from Mike Kaganski <[email protected]> ---
I *assume*, that by "end of string", you meant "end of paragraph", which what
actually gets created.

Please check the documentation for the regular expressions in LibreOffice [1]:

> \n   When entered in the Replace text box in Writer, inserts a paragraph break
       that can be inserted with the Enter or Return key.

This works as designed.

1. It's impossible to have line break in replacement string: bug 45344, bug
106137.

2. In your case, you can use look-ahead assertion: search for ' (?=\n)'
(without quotes), and replace with nothing.

[1]
https://help.libreoffice.org/latest/en-US/text/shared/01/02100001.html?&DbPAR=WRITER

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to