<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Regular expression "\n" in replace field inputs "\n" instead of paragraph break"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=43107#c17">Comment # 17</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Regular expression "\n" in replace field inputs "\n" instead of paragraph break"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=43107">bug 43107</a>
from <span class="vcard"><a class="email" href="mailto:documentfoundation@nuclearsunshine.com" title="DN <documentfoundation@nuclearsunshine.com>"> <span class="fn">DN</span></a>
</span></b>
<pre><span class="quote">> does anyone have a test document</span >
You can't reproduce?
Steps:
* Create a blank sheet
* Double-click on a cell to inline-edit it
* Enter two-line content (e.g. "first line", <Ctrl>-<Enter>, "last line") and
hit <Enter>
* Open find/replace (Ctrl-H)
* Expand "other options" and tick "regular expressions"
* In find, enter "\n" without quotation marks
* In replace, enter "\nmiddle line\n"
* Click "Replace all"
Expected:
* Cell contains three lines: "first line", "middle line", "last line"
Actual:
* Cell contains one line: "first line\nmiddle line\nlast line" (literal string)</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>