tags 482268 + patch
thanks
Tracked it down to libkatepart in the kdelibs package.
The code already had support in case the search & replace added
newlines to the text, but didn't treat \n or \r specially in the
replacement text. The patch makes \0...\9, \\, \n and \t behave
as they do in sed.
I
I'm still investigating, but have some results and a
simplification of the test case:
> Text to find: '[ab]'
> as a regexp
"As a regexp" is needed, but the text to find can be simply 'a'.
> Replace with: '\\0'
> with backreferences allowed
Kate's dialog calls backrefs "pl
Package: kate
Version: 4:3.5.9.dfsg.1-2+b1
Severity: grave
Justification: causes non-serious data loss
1) I start kwrite. It shows a new empty document.
2) I type 'abc' (without the quotes).
3) I open a replace dialog and set the following options:
the quotes below surround what is typed in fie
3 matches
Mail list logo