<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - No regular expression for paragraph mark"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=112575">112575</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>No regular expression for paragraph mark
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>5.4.1.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Writer
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dani3l.grigoras@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Description:
I have not found a regular expression for searching and replacing combinations
of paragraph marks and text.
If I search for \n in my document, all that is found are the paragraph marks
inserted before figure captions found in the frames of the figures.
Also, the help page on regular expressions
(<a href="https://help.libreoffice.org/Common/List_of_Regular_Expressions">https://help.libreoffice.org/Common/List_of_Regular_Expressions</a>) wrongly
states that \n is for searching line breaks inserted via Shift+Enter.
Shift+Enter inserts a page break and not a line break.
MS Word has a "Special" button in the Search & Replace window to easily pick
regular expressions. This should also be a feature of LibreOffice.
Please correct this issue and make \n or \p to represent a paragraph mark.
Use case: I want to search for certain lines containing certain text and
replace that text together with the line on which that text was placed. I can't
make any such replacement as \nTextToReplace is not found.
Steps to Reproduce:
-
Actual Results:
-
Expected Results:
-
Reproducible: Always
User Profile Reset: No
Additional Info:
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:55.0) Gecko/20100101
Firefox/55.0</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>