<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 - Tools> Options> Calc> Calculate> Case sensitive should be used by functions handling regular expressions"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=132380">132380</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Tools> Options> Calc> Calculate> Case sensitive should be used by functions handling regular expressions
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.4.3.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>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Calc
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>pierre-yves.samyn@laposte.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
Hi

With Edit> Find & Replace we can search: [a-z], tick "Match case" & "Regular
expressions" then find all to select cells containing lowercase letters.

SEARCH function supports regular expressions but does not use Tools> Options>
Calc> Calculate> Case sensitive. 

So SEARCH function does not distinguish between upper and lower case letters.

It is therefore impossible to do the same search as above:

=SEARCH("[a-z]";A2)

As workaround we have to do =NOT(EXACT(UPPER(A2);A2))

Steps to Reproduce:
1. Open FindLowerCase.ods attached
2. See B3 result is 1
3. Tick or Untick "Tools> Options> Calc> Calculate> Case sensitive" according
to the status of the option
4. See B3 result 

Actual Results:
1

Expected Results:
#VALUE (no lowercase in A3)


Reproducible: Always


User Profile Reset: No



Additional Info:
All functions (e.g. COUNTIF) that support regexp should also use this option.</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>