<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:raal@post.cz" title="raal <raal@post.cz>"> <span class="fn">raal</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - find replace does not work"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=122328">bug 122328</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>NOTABUG
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>raal@post.cz
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>UNCONFIRMED
</td>
<td>RESOLVED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - find replace does not work"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=122328#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTABUG - find replace does not work"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=122328">bug 122328</a>
from <span class="vcard"><a class="email" href="mailto:raal@post.cz" title="raal <raal@post.cz>"> <span class="fn">raal</span></a>
</span></b>
<pre>I can confirm with 6.3 on windows, but it's not a bug. See
<a href="https://help.libreoffice.org/Common/List_of_Regular_Expressions">https://help.libreoffice.org/Common/List_of_Regular_Expressions</a>
\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></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>