[Libreoffice-bugs] [Bug 118505] When using regex and find.text different positions (begining or the end of string) are returned.
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Jul 2 21:11:06 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=118505
Eike Rathke <erack at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |NOTABUG
--- Comment #3 from Eike Rathke <erack at redhat.com> ---
This has nothing to do with Wildcard search, the document has Regular
Expressions enabled.
This is not a bug. One has to understand how regular expressions work.
Specifically the ? and * operators can not be used the same as in wildcards.
3?5 means zero or one 3 followed by one 5. For the sequence "345" this matches
only 5.
3*5 means zero or more 3 followed by one 5. For the sequence "345" this matches
only 5.
For the available metacharacters, operators and set expressions in ICU and thus
LibreOffice see http://userguide.icu-project.org/strings/regexp
--
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/20180702/0196c413/attachment.html>
More information about the Libreoffice-bugs
mailing list