At Tue, 4 Dec 2007 08:46:12 +0000, Peter Alcibiades wrote:
I'm searching and replacing a text file. In gedit, if I search for \n\r I get, as expected, a match at every line end. Same with \n or \r.
However, in Kate or Geany, I do not. Tearing hair out. What could be the problem? I've tried
It seems that with Kate you can select the 'regular expressions' tick box and use the character '$' to match the end of a line. The only way I could find to insert a new line in the replacement string was to paste a string containing newline(s) into the replacement box. Cheers, Richard -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Richard Lewis - UEA, MUS PG http://www.richard-lewis.me.uk/ JID: ironchicken@jabber.earth.li -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- +-------------------------------------------------------+ |Please avoid sending me Word or PowerPoint attachments.| |http://www.gnu.org/philosophy/no-word-attachments.html | +-------------------------------------------------------+