[Libreoffice-bugs] [Bug 112575] New: No regular expression for paragraph mark
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Sep 22 14:40:00 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=112575
Bug ID: 112575
Summary: No regular expression for paragraph mark
Product: LibreOffice
Version: 5.4.1.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: dani3l.grigoras at gmail.com
Description:
I have not found a regular expression for searching and replacing combinations
of paragraph marks and text.
If I search for \n in my document, all that is found are the paragraph marks
inserted before figure captions found in the frames of the figures.
Also, the help page on regular expressions
(https://help.libreoffice.org/Common/List_of_Regular_Expressions) wrongly
states that \n is for searching line breaks inserted via Shift+Enter.
Shift+Enter inserts a page break and not a line break.
MS Word has a "Special" button in the Search & Replace window to easily pick
regular expressions. This should also be a feature of LibreOffice.
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.
Steps to Reproduce:
-
Actual Results:
-
Expected Results:
-
Reproducible: Always
User Profile Reset: No
Additional Info:
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:55.0) Gecko/20100101
Firefox/55.0
--
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/31999094/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list