On Mon, 28 Dec 2009 18:44:20 +0100 Enrico Tröger enrico.troeger@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