BTW:
Le 02/10/2011 16:34, Nick Treleaven a écrit :
On 30/09/2011 17:32, Nick Treleaven wrote:
On 30/09/2011 14:37, Nick Treleaven wrote:
On 27/09/2011 13:17, Nick Treleaven wrote:
On 26/09/2011 23:00, Colomban Wendling wrote:
Le 26/09/2011 13:48, Nick Treleaven a écrit :
I guess the reason is the regex code that is really old which is used for Windows builds.
Maybe we could use GRegex now we have a GLib recent enough?
I'm now working on porting lregex.c to GRegex, I think it might be compatible enough. I'll commit it to unstable if it goes OK.
Now done. This fixes my performance issue with doc/geany.html.
Great!
Needs testing though. Regex parsers are:
actionscript cobol html php R
Link: http://geany.svn.sourceforge.net/viewvc/geany?view=revision&revision=597...
I think Colomban's idea of using GRegex is great in that all systems will then have the same regex behaviour. The old situation was a support headache.
+1 :)
GRegex is more reliable besides being more powerful, based on PCRE. The Windows version (at least) of GNU regex we had didn't understand Mac line endings for ^, $.
Hehe, even better :) Now we should probably port all our regexes usage to GRegex -- and drop the included one when done, but there's no hurry.
Thanks for having done the hardest part: the try & check :) Colomban