<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 - search for regular expressions not usable any more"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=130480">130480</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>search for regular expressions not usable any more
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.2.8.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (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>forum+document@home.decotrain.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
In older versions of Libreoffice the search and replace in Writer could be a
mighty tool to clean up text.
But now it has a complete new syntax and is working so bad that it is not
usable any more.

As example i want to clean a text from the page numbers. Something like






The expectation is to search for ^$^$^([:digit:]+)$^$^$ and replace it with
nothing. But this does not work!

The only thing that is working to replace the side number with ^([:digit:]+)$
But then it is not possible to replace multiple empty lines.

^$^$ is not working!

^${2} is not working!

^${2,5} is not working!

So this engine is only usable for silly things ...

Steps to Reproduce:
Make a text with standalone page numbers like







Try to delete them with ^$^$^([:digit:]+)$^$^$

Actual Results:
Does not work

Expected Results:
Normal functionality of an regular expression engine


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.2.8.2
Build-ID: f82ddfca21ebc1e222a662a32b25c0c9d20169ee
CPU-Threads: 4; BS: Linux 3.16; UI-Render: Standard; VCL: kde4; 
Gebietsschema: de-DE (de_DE.UTF-8); UI-Sprache: de-DE
Calc: CL</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>