[Geany-devel] CTags with GRegex - Re: editing big files can be too slow with tag reparsing
nick.treleaven at xxxxx
Fri Sep 30 16:32:58 UTC 2011
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'm reduced to using Windows. 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 don't know if GRegex would work, CTags parsers may use non-POSIX
>> features - are \w \s part of POSIX?
Actually I was wrong, our parsers don't use \w or \s.
> 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. Needs
testing though. Regex parsers are:
More information about the Devel