[Libreoffice-bugs] [Bug 31480] Find/replace non-printing characters easily
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Feb 19 18:14:34 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=31480
--- Comment #26 from Jan-Marek Glogowski <glogow at fbihome.de> ---
(In reply to Eyal Rozenberg from comment #25)
> (In reply to Jan-Marek Glogowski from comment #24)
> > There is simply no way to search for newlines with an regexp.
>
> Specifically, in your example document, the regexp /Two\nThree/ would find a
> match, starting before the T of Two and ending after the Three, on the next
> line.
Just for this match to happen, you would need to convert the internal
representation of newline to "\n", so a regexp can match, and somehow convert a
result back. And IMHO that would be really non-trivial. You don't want to write
a regexp abstraction over LO internal representation. That would probably be
even harder.
--
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/20210219/4330937d/attachment.htm>
More information about the Libreoffice-bugs
mailing list