[Geany] Regex replace weirdness

Lex Trotman elextr at xxxxx
Wed Sep 29 01:09:47 UTC 2010


On 29 September 2010 10:30, Erik de Castro Lopo <mle+tools at mega-nerd.com> wrote:
> Hi all,
>
> I've got a file of C code which for part of the file has an extra
> single space indent on the left hand side. To fix this I'm trying
> to do a regex search for "^ " and replace it with "" (ie empty
> string). Unfortunately, this search/replace removes all space
> indentation which is not really what I expect.
>
> Any clues on getting this right? Is this a bug?


What version are you using?

Cheers
Lex

>
> Erik
> --
> ----------------------------------------------------------------------
> Erik de Castro Lopo
> http://www.mega-nerd.com/
> _______________________________________________
> Geany mailing list
> Geany at uvena.de
> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
>



More information about the Users mailing list