[Libreoffice-bugs] [Bug 122328] find replace does not work
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Jan 8 15:03:16 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=122328
raal <raal at post.cz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |NOTABUG
CC| |raal at post.cz
Status|UNCONFIRMED |RESOLVED
--- Comment #5 from raal <raal at post.cz> ---
I can confirm with 6.3 on windows, but it's not a bug. See
https://help.libreoffice.org/Common/List_of_Regular_Expressions
\n Represents a line break that was inserted with the Shift+Enter key
combination. To change a line break into a paragraph break, enter \n in the
Find and Replace boxes, and then perform a search and replace.
\n in the Find text box stands for a line break that was inserted with the
Shift+Enter key combination.
\n in the Replace text box stands for a paragraph break that can be entered
with the Enter or Return key.
Switch on formatting marks and you can see that first replace works like in
documentation - replace line break on 4th line. For searching paragraph break
tick "Regular expressions" in "Search and replace" dialog. Search for $,
replace with space.
So your steps should be:
1. created document
2. use different ways to end line
3. use edit / find and replace; tick "Regular expressions"
4. find \n replace all with \n
5. find $ replace all with <space>
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190108/4bba6195/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list