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.
I can understand your problem, but for me it is only a theoretical problem. I can't think of a situation, where I want to search for a paragraph break or want to replace something with a line break. Can you give one or two examples?
2 have occurred just in my household: 1- my daughter wanted to cut and paste song lyrics into a story she was writing, but in paragraph form. So she needed to at the end of every line hand delete the paragraph break and replace it with a space. It was a very long song. 2- I have hundreds/thousands of old emails from back when they were sent only in plain text format. When you would reply, the paragraphs would be word-wrapped at 76 characters (or so) and on each new line a "> " would be prepended. We'd format new paragraphs by having 2 carriage returns. Preserving old emails into a document requires replacing all those single carriage returns with spaces and the double carriage returns with single carriage returns. A lot of reformatting. Basically - this is something you run into with reformatting text obtained from elsewhere. Also, it would be helpful for bringing text from or to a spreadsheet format. Clearly it is not a theoretical problem. In fact, a quick google search finds complaints about this going back 5-6 years, with some painful workarounds. But really this should just be in the already available find/replace feature. Noone should have to cut and paste thier LibreWriter doc into MSWord to be able to replace on <CR>.
Thank you for the explanations and examples. I agree, that there are some situations, where it might be useful. Set to NEW.
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.
(In reply to Daniel Grigoras from comment #4) > > 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. > No, it does not. Shift+Enter inserts a "line break", searchable as "\n" or as "\u000a" > MS Word also has a "Special" button in the Search & Replace window to easily > pick regular expressions. > And? Otherwise, we have our own regex syntax drawn from perl as implemented by ICU. > Please correct this issue and make \n or \p to represent a paragraph mark. > Not going to happen, the ICU library String search and its regex implementation meets our needs of manipulating paragraphs. "$" already is unique representation of the end of a Paragraph object. It has no meaning in a replacment string--just a search string where it is either the end of a paragraph object, or for composing a regex match at end of paragraph. > 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. Post an example we'll figure it out for you.
Created attachment 139959 [details] findReplace.odt: sample document showing two situations LO can't handle I think this document demonstrates the two situations described in comment 2 and also covers the "\nTextToReplace" concept from comment 4 which in MSWord search syntax would be "^pTextToReplace". The key idea here is to do these things as single searches (preferably via a replace all). Otherwise the user has to make multiple "replace/next" passes through the document to accomplish each task.
*** Bug 91033 has been marked as a duplicate of this bug. ***
*** Bug 112575 has been marked as a duplicate of this bug. ***
Created attachment 161336 [details] 2020-05-27 editing and formatting poetry -- yet another use case Replacing line breaks for paragraph breaks (and to apply any new formatting optionally) requires much hand work.
*** Bug 138752 has been marked as a duplicate of this bug. ***
Nicely explained. <a href="https://lyricstalk.in/pushpa-tamil-movie-download-isaimini-full-movie-480p-720p-1080p/" rel="bookmark">Pushpa Tamil Movie Download Isaimini – Full 480p 720p 1080p</a> <a href="https://lyricstalk.in/the-kashmir-files-movie-download-full-movie-480p-720p-1080p/" rel="bookmark">The Kashmir Files Movie Download – Full Movie 480p 720p 1080p</a> <a href="https://lyricstalk.in/kgf-chapter-2-full-movie-in-hindi-download-filmyzilla-full-movie-480p-720p-1080p/" rel="bookmark">Kgf Chapter 2 Full Movie In Hindi Download Filmyzilla – 720p 1080p</a>
Nice and Informative Article. I have found this website that provides the best explanation of Mathematics. Please check the links below: https://findformula.co.in/coefficient-of-a-term/ https://findformula.co.in/total-surface-area-of-right-circular-cylinder/ https://findformula.co.in/equal-and-equivalent-sets-definition-example-symbol-venn-diagram/ https://findformula.co.in/obtuse-angled-triangle-definition-example-formula-area-perimeter-types-properties/ https://findformula.co.in/acute-angled-triangles-definition-area-types-formula-properties/ https://findformula.co.in/isosceles-triangle-definition-formula-properties-area-perimeter/ https://findformula.co.in/trapeziums/ https://findformula.co.in/improper-subset-definition-example-meaning-symbol-venn-diagram/ https://findformula.co.in/total-surface-area-of-cube/ https://findformula.co.in/lateral-surface-area-lsa-of-cube/ https://findformula.co.in/subset-and-superset-definition-maths-examples-symbol-difference-sign/ https://findformula.co.in/proper-subset-definition-venn-diagram-example-symbol-phi/ https://findformula.co.in/obtuse-isosceles-triangle-definition-example-formula-area-primeter-height-propertie/ https://findformula.co.in/cuboid-definition-shape-perimeter-formula-volume-lsa-tsa-difference/ https://findformula.co.in/arc-of-a-circle/ https://findformula.co.in/singleton-set-definitio-symbol-example/ https://findformula.co.in/degree-of-an-algebraic-expression/ https://findformula.co.in/finite-sets-examples-properties-what-is-finite-set/ https://findformula.co.in/empty-set/ https://findformula.co.in/universal-set/ https://findformula.co.in/infinite-sets/ https://findformula.co.in/complement-of-a-set/ https://findformula.co.in/altitude-of-a-triangle/ https://findformula.co.in/monomial-binomial-trinomial-and-polynomials/ https://findformula.co.in/ncert-class-6-maths-book-pdf-english-and-hindi/ https://findformula.co.in/scalene-triangles-definition-area-perimeter-properties-types/ https://findformula.co.in/ncert-solutions-class-10-maths-chapter-3-exercise-3-2-pair-of-linear-equations-in-two-variables-pdf-download/ https://findformula.co.in/ncert-class-12-maths-book-pdf-english-and-hindi/ https://findformula.co.in/rational-number/ https://findformula.co.in/ncert-class-11-maths-book-pdf-english-and-hindi/ https://findformula.co.in/cardinality-of-a-set/ https://findformula.co.in/curved-surface-area-of-right-circular-cylinder/ https://findformula.co.in/right-circular-cylinder/ https://findformula.co.in/ncert-solutions-class-10-maths-chapter-2-exercise-2-3-polynomials-pdf-download/
Nice blog. I love reading your blog. You put Very Nice Content. Find out the latest songs lyrics in Hindi on my website: <a href="https://lyricstalk.in/mahiya-mainu-lyrics-in-hindi/">Mahiya Mainu Lyrics in Hindi</a> <a href="https://lyricstalk.in/aaj-kal-ve-lyrics-in-hindi-sidhu-moose-wala-barbie-maan/">Aaj Kal Ve Lyrics in Hindi</a> <a href="https://lyricstalk.in/mera-dil-bhi-kitna-pagal-hai-lyrics-in-hindi/">Mera Dil Bhi Kitna Pagal Hai</a> <a href="https://lyricstalk.in/ek-onkar-satnam-lyrics-in-hindi/">Ek Onkar Satnam Lyrics in Hindi</a> <a href="https://lyricstalk.in/khaike-paan-banaras-wala-lyrics-in-hindi/">Khaike Paan Banaras Wala Lyrics in Hindi</a> <a href="https://lyricstalk.in/dear-mama-sidhu-moose-wala-lyrics-in-hindi/">Dear Mama Lyrics in Hindi</a> <a href="https://lyricstalk.in/levels-sidhu-moose-wala-lyrics-in-hindi/">Level Lyrics in Hindi</a> <a href="https://lyricstalk.in/calaboose-sidhu-moose-wala-lyrics-in-hindi/">Calabose Lyrics in Hindi</a> <a href="https://lyricstalk.in/hallelujah-song-lyrics-in-hindi/">Hallelujah Lyrics in Hindi</a>
*** Bug 153311 has been marked as a duplicate of this bug. ***
Watch movies and TV shows online on <a href="https://www.flixtortv.live/2023/05/flixtor-ultimate-online-streaming.html">Flixtor.to</a>
(In reply to akerblom from comment #0) > This means that I can never search for a paragraph break Not true. LO regex help says, "$ on its own matches the end of a paragraph. This way it is possible to search and replace paragraph breaks." This follows normal regex behaviour. However, it is true that you could not get rid of the email quoted parts with a search for '$>', but that is expected in regex's, which (generally) only operate on one line/paragraph.