<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 regular expressions: \n has 2 meanings, it shouldn't"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=108256">108256</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>EDITING: find/replace regular expressions: \n has 2 meanings, it shouldn't
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>5.1.6.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>enhancement
          </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>akerblom@flopcat.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>In find/replace, when the "regular expressions" options box is checked, the
product intentionally has "\n" mean one thing in the search box, and a
different thing in the replace box:  

>From the help file:
"
\n in the Search for text box stands for a line break that was inserted with
the Shift+Enter key combination.
\n in the Replace with text box stands for a paragraph break that can be
entered with the Enter or Return key.
"

This means that I can never search for a paragraph break, and I can never
replace anything with a line break. 

As these are two different characters, they should really be represented by
different expressions in the find/replace feature so that users have the
flexibility to find on either one, and replace with either one.</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>