Version: (using KDE KDE 3.5.3) Installed from: SuSE RPMs Such feature (option directly at find/replace dialog) would be useful for several reasons: * searching phrase "A B" when you are not if it is "A\nB" exactly * replacing newline characters -- I can match "A$", but what I want to replace newlines with spaces, then I could set "(A)\n" replace to "\1 ". The only "problem" which such feature is to ensure Kate works only with \n internally, not \r\n, or anything else.
Kate works with \n internally. Kate internally is linebased, which is why treating the whole document as a single line is not possible so far. This is related to the wish "search & replace over multiple lines".
Of course, replacing '(A)\n' with '\1 ' would also require Bug 127765 / Bug 45529 to be fixed.
Oh... I take that back, looks like that's what "placeholders" are supposed to do? How on earth did we get the harder-to-implement part of regex-escapes in the 'replace' text and not the simple parts?
*** This bug has been marked as a duplicate of 64910 ***