[Libreoffice-bugs] [Bug 127796] New: Malfunction of the "Find" operation with regular expressions.
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Sep 26 15:11:24 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=127796
Bug ID: 127796
Summary: Malfunction of the "Find" operation with regular
expressions.
Product: LibreOffice
Version: 6.2.7.1 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: LibreOffice
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: yestok at yestok.pl
Description:
In my opinion, string search using regular expressions does not work correctly
when searching for strings of any characters contained in two bounding
characters.
Let BOS be the initial delimiter of the search string and EOS be the final
delimiter.
Regular expression in the form of "BOS.*EOS" finds a string containing the last
instance of EOS. In this situation, you cannot correctly recognize the strings
sought in such a structure:
"string1 BOS string2 EOS string3 BOS string4 EOS string5"
In the example above, there are two strings matching the match condition, but
the search operation finds only one, terminated with a second EOS tag.
This causes problems when searching inside paragraphs multiple instances of
strings enclosed in parentheses or enclosed in quotation marks.
In addition, the new REGEX function in Calc cannot be properly used to find,
for example, the fourth occurrence of <tr>. * </tr> sequence obtained from the
WEBSEVICE function
Steps to Reproduce:
nothing
Actual Results:
nothing
Expected Results:
nothing
Reproducible: Always
User Profile Reset: No
Additional Info:
--
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/20190926/3bf6c980/attachment.html>
More information about the Libreoffice-bugs
mailing list