[Geany-devel] CTags with GRegex - Re: editing big files can be too slow with tag reparsing
nick.treleaven at xxxxx
Sun Oct 2 14:34:35 UTC 2011
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
>>>>> 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. 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 ^, $.
More information about the Devel