[Geany] Regex search and replace

Erik de Castro Lopo mle+tools at xxxxx
Thu Jul 29 22:47:59 UTC 2010


daspostloch wrote:

> \s+$ seems to work for me, modulo some marking of white space in
> the next line on some occasions. is that what you mean by "doesnt
> seem to understand"?

Yes. I'm a refugee from the Nedit text editor. With the regex above
with Nedit the search and replace of this (underscores as whitespace):

   aaa___
____
   bbbb______

would result in:

   aaa

   bbbb

With Geany, it removes the empty line giving me this:

 aaa
 bbbb

which is not really what I was after.

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/



More information about the Users mailing list