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: 18.104.22.168.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
I confirm it with
Version: 22.214.171.124.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
Also in Version 126.96.36.199 (Build ID: e183d5b)
I think is inherited from OOo.
Thank you for reporting this bug.
I can confirm that this bug is found in the following version:
Version: 188.8.131.52 (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
*** 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.