1) in Writer write Hello, press Ctrl+H for Find&Replace dialog 2) check Regular expressions, Find: e, Replace: \\n 3) do Replace All It will replace the letter "e" by Enter (like for \n in the Replace), but correct replacement for \\n is string \n. For tabulator \t it replaces correctly. \t will do correctly tabulator, and \\t will do correctly string \t. Version: 7.1.0.0.beta1 (x64) Build ID: 828a45a14a0b954e0e539f5a9a10ca31c81d8f53 CPU threads: 8; OS: Windows 10.0 Build 17763; UI render: Skia/Raster; VCL: win Locale: cs-CZ (cs_CZ); UI: cs-CZ Calc: CL
I confirm it with Version: 7.2.0.0.alpha0+ (x64) Build ID: 315c7570c4a72f4c834086082825533b1e50d1bf CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: threaded actual result: H llo exepcted result: H\nllo
Also in Version 3.6.7.2 (Build ID: e183d5b) I think is inherited from OOo.
Hey Kamil, Thank you for reporting this bug. I can confirm that this bug is found in the following version: Version: 7.6.2.1 (X86_64) / LibreOffice Community Build ID: 56f7684011345957bbf33a7ee678afaf4d2ba333 CPU threads: 12; OS: Mac OS X 13.5; UI render: Skia/Metal; VCL: osx Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded
*** This bug has been marked as a duplicate of bug 128999 ***
(In reply to kdub from comment #4) > > *** This bug has been marked as a duplicate of bug 128999 *** bug 128999 is about \n string being present in the document while this report is about escaping \n in the replace field.