[Libreoffice-bugs] [Bug 108256] EDITING: find/replace regular expressions: \n has 2 meanings, it shouldn't

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Sep 22 13:40:35 UTC 2017


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

--- Comment #4 from Daniel Grigoras <dani3l.grigoras at gmail.com> ---
For sure there are such situations in which one would like to search for a
paragraph mark and replace it with something else, and I am speaking as a
Technical Writer often having to do this.

The problem is that there is a misunderstanding as to what a Shift+Enter does.
Shift+Enter inserts a page break and not a line break as the pseudo-help
states.

MS Word also has a "Special" button in the Search & Replace window to easily
pick regular expressions.

Please correct this issue and make \n or \p to represent a paragraph mark.

Use case: I want to search for certain lines containing certain text and
replace that text together with the line on which that text was placed. I can't
make any such replacement as \nTextToReplace is not found.

-- 
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/20170922/81c755e8/attachment.html>


More information about the Libreoffice-bugs mailing list