[Libreoffice-bugs] [Bug 130480] search for regular expressions not usable any more

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Feb 10 12:35:30 UTC 2020


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

--- Comment #4 from Eike Rathke <erack at redhat.com> ---
It was never possible to search for multiple empty paragraphs with ^$^$
One empty paragraph can be matched with ^$, which anchors an otherwise empty
expression to start and end, and is explicitly handled in Writer
sw/source/core/crsr/findtxt.cxx FindTextImpl() with bool bChkEmptyPara = ...
used in the DoSearch() call.

You'll probably also find no regular expression engine that would support
^$^$^([:digit:]+)$^$^$
in the here intended way. Try at https://regex101.com/

The \n also never matched an end of paragraph, but a newline entered with
Shift+Enter, and still does.
See https://help.libreoffice.org/6.4/en-US/text/shared/01/02100001.html for
details.

-- 
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/20200210/044e73a9/attachment.htm>


More information about the Libreoffice-bugs mailing list