<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - regular expression in find and replace is case insensitive"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=144723#c9">Comment # 9</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED NOTABUG - regular expression in find and replace is case insensitive"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=144723">bug 144723</a>
              from <span class="vcard"><a class="email" href="mailto:mikekaganski@hotmail.com" title="Mike Kaganski <mikekaganski@hotmail.com>"> <span class="fn">Mike Kaganski</span></a>
</span></b>
        <pre>For the reference:

LibreOffice uses ICU regex engine. You may look at 'Case Insensitive Matching'
in its help page [1]. It reads:

<span class="quote">> Case insensitive matching is specified by the UREGEX_CASE_INSENSITIVE flag
> during pattern compilation ...</span >

This is ~same for any other regex engines: software defines case sensitivity
applied to *compiled regex*; and then user *may* re-define the flags inside the
regex.

You seem to not be familiar with this concept, but you may look at
re.IGNORECASE flag in Python's regex [2] doing the same when passed to its
compile.

So the checkbox in the dialog controls just that, and it is consistent and
correct.

[1]
<a href="https://unicode-org.github.io/icu/userguide/strings/regexp.html#case-insensitive-matching">https://unicode-org.github.io/icu/userguide/strings/regexp.html#case-insensitive-matching</a>
[2] <a href="https://docs.python.org/3/library/re.html#re.I">https://docs.python.org/3/library/re.html#re.I</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>