[Libreoffice-bugs] [Bug 108256] New: EDITING: find/replace regular expressions: \n has 2 meanings, it shouldn't
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed May 31 04:26:01 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=108256
Bug ID: 108256
Summary: EDITING: find/replace regular expressions: \n has 2
meanings, it shouldn't
Product: LibreOffice
Version: 5.1.6.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: enhancement
Priority: medium
Component: Writer
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: akerblom at flopcat.org
In find/replace, when the "regular expressions" options box is checked, the
product intentionally has "\n" mean one thing in the search box, and a
different thing in the replace box:
>From the help file:
"
\n in the Search for text box stands for a line break that was inserted with
the Shift+Enter key combination.
\n in the Replace with text box stands for a paragraph break that can be
entered with the Enter or Return key.
"
This means that I can never search for a paragraph break, and I can never
replace anything with a line break.
As these are two different characters, they should really be represented by
different expressions in the find/replace feature so that users have the
flexibility to find on either one, and replace with either one.
--
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/20170531/6eb36868/attachment.html>
More information about the Libreoffice-bugs
mailing list