<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 - EDITING:find&replace replaces "\n" in document with newline formatting"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=128999">128999</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>EDITING:find&replace replaces "\n" in document with newline formatting
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.2.6.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows (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>vincent_hy_yu@hotmail.com
</td>
</tr></table>
<p>
<div>
<pre>Description:
Changing font-type with regex find&replace, if a "\n" is present in the
document of the find font-type, it is replaced with a newline formatting.
Expected behavior: same "\n" but changed to target font-type.
Find regex: (.+)
Find font-type: Times New Roman
Replace regex: $1
Replace font-type: Courier New
Steps to Reproduce:
1.create a document of text containing: "this is a test\n.Hello!"
2.find&replace with regex: find (.+) current font-type replace $1 other
font-type
3.replace-all in find-replace dialog
Actual Results:
this is a test
.Hello!
Expected Results:
this is a test\n.Hello!
Reproducible: Always
User Profile Reset: No
Additional Info:
Version: 6.2.6.2 (x64)
Build ID: 684e730861356e74889dfe6dbddd3562aae2e6ad
CPU threads: 2; OS: Windows 6.3; UI render: default; VCL: win;
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded</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>