[Bug 165931] Regular expressions must be able to match non-break line endings
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Mar 28 18:53:56 UTC 2025
https://bugs.documentfoundation.org/show_bug.cgi?id=165931
--- Comment #9 from Eyal Rozenberg <eyalroz1 at gmx.com> ---
(In reply to Mike Kaganski from comment #8)
> my reasoning about great complexity to solve this likely niche use case
> ... But I can of course be mistaken wrt how common this could be.
Ah, but think of what happens if you save your document as a text file; or if
you were working on a text file to begin with. Now, the use case I described is
simply "look for a pattern followed by \n" - because in text files, all lines
end with \n (if we ignore \r anyway).
So if you "back-translate" this use case - one of the most common you can think
of in a text file - to a Writer document - you get this bug (possibly without
the distinction between non-break and with-break).
Indeed, supporting this would mean quite a bit of work - it is not a trivial
feature to implement. But finding is in the core-of-cores of the functionality
of an editor, and a document (rather than plain text) editor needs to be able
to find stuff. So this is not a kind of bells-and-whistles request which one
can decide that we don't want to have in LO on principle.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Libreoffice-ux-advise
mailing list