[Libreoffice-bugs] [Bug 144723] New: regular expression in find and replace is case insensitive

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Sep 25 15:55:20 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=144723

            Bug ID: 144723
           Summary: regular expression in find and replace is case
                    insensitive
           Product: LibreOffice
           Version: 7.2.1.1 rc
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: testing1237a-c at yahoo.com

Description:
i suppose this is a bug in find and replace "regular expressions" checkbox
which accepts regex but one that is case insensitive while =regex correctly
detects case sensitivity in expressions. attached screenshot containing find
and replace finding the test while =regex does not

Steps to Reproduce:
1. open file regex.odt . check if regex is working, both small "p" and capital
"P" in two rows. the same is confirmed by checking the string and expression on
online regex testers like https://regex101.com/ and
https://www.regextester.com/
2. Now, copy small p string and go to find and replace "ctrl+h" and select
regular expressions.


Actual Results:
find and replace with regular expressions checked should not detect any string
because the string contains small "p" but the text contains capital "P" but
find and replace still finds it. This is wrong behaviour

Expected Results:
find and replace should follow =regex and be case sensitive so that building
expressions should be same in find and in formulae




Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.1.2 / LibreOffice Community
Build ID: 87b77fad49947c1441b67c559c339af8f3517e22
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: en-IN (en_IN); UI: en-US
Flatpak
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210925/34f59302/attachment.htm>


More information about the Libreoffice-bugs mailing list