[Libreoffice-bugs] [Bug 138931] New: Writer: \\n in the regex Replace is same like \n

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Dec 15 09:54:36 UTC 2020


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

            Bug ID: 138931
           Summary: Writer: \\n in the regex Replace is same like \n
           Product: LibreOffice
           Version: 7.1.0.0.beta1+
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: kamlan at post.cz

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

-- 
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/20201215/fc7db717/attachment.htm>


More information about the Libreoffice-bugs mailing list