[Geany-devel] CTags with GRegex - Re: editing big files can be too slow with tag reparsing
nick.treleaven at xxxxx
Mon Oct 3 12:06:38 UTC 2011
On 02/10/2011 20:16, Jiří Techet wrote:
> On Sun, Oct 2, 2011 at 16:34, Nick Treleaven
>>> Now done. This fixes my performance issue with doc/geany.html. Needs
>>> testing though. Regex parsers are:
>> 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
>> 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 ^, $.
> Cool! By the way, are the #ifdef HAVE_REGEX needed? From glib sources
> it seems GRegex either uses system pcre or built-in pcre so you should
> have always regex support.
I left HAVE_REGEX in lregex.c so less code is different from CTags. I
think it doesn't cause any harm.
More information about the Devel