[Geany-devel] changing regex search engine - Re: Bug#561276: geany does not escape '\\' in replace string

Nick Treleaven nick.treleaven at xxxxx
Tue Feb 9 17:01:46 UTC 2010


On Mon, 28 Dec 2009 18:44:20 +0100
Enrico Tröger <enrico.troeger at uvena.de> wrote:

> >BTW libpcre is really not a problem for *NIX - most systems will have
> >some important component that depends on it anyway. And for
> >windows/mac you can just static-link it.
> 
> It's still another dependency. The goal is to use as less external
> libaries as possible. Btw, we already use the regexp implementation of
> the C runtime environment (if available) and use the GNU regexp
> implementation on all other systems (included in Geany's sources). So,
> if this would be enough, we would not need an external dependency.

I think this is a good idea but I'm no expert. If the system/gnu engine
is powerful enough, and someone wants to work on the changes then it
would be good to change. Then we could probably cut out the scintilla
regex implementation.

There's been the TODO item for a while:

o (better search & replace regex support e.g. multiline - use
   SCI_GETCHARACTERPOINTER and GNU regex?)

Regards,
Nick



More information about the Devel mailing list