Re: [code] [ctags][PATCH 0/4] Small enhancements to Textadept Ctags module

From: Mitchell <m.att.foicica.com>
Date: Thu, 27 Jul 2017 09:26:01 -0400 (EDT)

Hi Jens,

On Thu, 27 Jul 2017, Jens Remus wrote:

> Hello Mitchell,
>
> following are some small enhancements to your Textadept Ctags module
> that I made to get aground some minor issues that I ran into:
>
> [snip]

Thanks! Applied[1].

> 3. I ran into some issue that a prorietary utility I am using generates
> tag files with {tagaddress} that do not contain ^ and $ in their
> regular expression. The Exuberant Ctags file format (see
> http://ctags.sourceforge.net/FORMAT) does not mandate the regular
> expression search between // to contain those anchors. So I changed
> the code to make them optional.
>
> Actually it looks like the TA Ctags module does not perform a regular
> expression search at all, otherwise it could simply keep the anchors.
> Maybe you can guide me how to resolve that?

I'm not sure what you mean. You are correct that the ctags module does not do a regex lookup, so the '^' and '$' anchors are indeed optional.

> Also the above mentioned file format mentions the possibility for
> multiple searches in the {tagaddress} although I am not sure whether
> that is really standard and used anywhere.
> Example: "389;/struct foo/;/char *s;/"

Sorry, I do not follow. Would you please be more explicit?

> [snip]
>
> I hope you don't mind that I cloned your repository on GitHub, which
> allows me to add it as a submodule in my .textadept configuration.
> https://github.com/jremus/ta-ctags/tree/jremus

Nope, not at all.

Cheers,
Mitchell

[1]: http://foicica.com/hg/ctags/rev/b37b392fcbd4

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Thu 27 Jul 2017 - 09:26:01 EDT

This archive was generated by hypermail 2.2.0 : Fri 28 Jul 2017 - 06:36:56 EDT