On 28 March 2010 13:15, Len Philpot <len@philpot.org> wrote:
[ From Geany general discussion list (Ross McKay) on Saturday, March 27, 2010 ]

> Please help out a dope. I know I've done this before, many times, and
> not had a problem, but today... not so much. 

> Geany built from r4788, Fedora 11 x86-64.

> I want to prefix a bunch of lines with something, e.g. spaces or a tab
> or, well, anything. Let's say X for the sake of picking an easy example.

> Search: ^
> Replace: X
> Use regular expressions: ticked

I used :

Search for:  ^(.)
Replace with: X\1
Use regular expressions: Enabled

and ...

example
example
example

was replaced by:

Xexample
Xexample
Xexample

Is that what you're looking for?
--
Len Philpot - l e n @ p h i l p o t . o r g   (no spaces)
><>   http://philpot.org/ - http://lphilpot.zenfolio.com
      Read my story: http://www.mostimportantthing.org  


Hi Ross,

It seems to be a bug in SVN trunk, I can confirm it works with 0.18  and r4577 but not current head.

Cheers
Lex

 
_______________________________________________
Geany mailing list
Geany@uvena.de
http://lists.uvena.de/cgi-bin/mailman/listinfo/geany