<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 - Find and Replace works incorrectly with regex "^." and selection only"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=144089">144089</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Find and Replace works incorrectly with regex "^." and selection only
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>7.3.0.0 alpha0+ Master
          </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>xiscofauli@libreoffice.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>This is just a follow-up of
<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - REPLACE not working if there is a footnote or endnote anchor at end of paragraph"
   href="show_bug.cgi?id=137737#c11">https://bugs.documentfoundation.org/show_bug.cgi?id=137737#c11</a> for future
reference

1. Create a lorem ipsum text.
2. Select any random part inside any paragraph.
3. Using F&R, use regex "^." (any character in the beginning of the paragraph),
ad replace with "A" (character A).
4. Use "Current selection only"
5. Replace All.

The expected result is that the text is not found (unless we also selected the
very first character of the paragraph, in which case the very first character
of the paragraph should be replaced). The actual result now is that all the
selected text is replaced with AAAAA...

Introduced by
<a href="https://git.libreoffice.org/core/+/a511bffd67a9cebfdc878766581ac08c79d7ff51%5E%21">https://git.libreoffice.org/core/+/a511bffd67a9cebfdc878766581ac08c79d7ff51%5E%21</a></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>