> I still feel the regex approach offers more flexibility. How about we adopt
> the () approach you mentioned below such that:
>
> gtags --language-force=cpp\:project/include
>
> Is a real path as you suggest and:
>
> gtags --language-force=cpp\:([Ii]nclude)
In what kind of case is this useful?
If possible, would you please show me an example?
>
> is a regex pattern contained in ().
...
> This would also be consistent with ctags.
In ctags's langmap, the pattern is glob pattern not regex.
Regards,
Shigio