help-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

is it possible to get NEARNESS behavior w/ regex tag search?


From: Gautam Thaker
Subject: is it possible to get NEARNESS behavior w/ regex tag search?
Date: Fri, 10 Mar 2017 17:22:27 -0500

I find the NEARNESS support to be very helpful in that where one has multiple definitions of the same token  NEARNESS more often then not find the definition I am interested in.

I note that NEARNESS feature does not work with -r as "--from-here" does not support the -r option. Is it possible to extend to get this support? I have  a system in which I have 10s of definitions of type:

ModuleA_filterThings(){}
ModuleB_filterThings(){}

I call these methods by reference, in code I have something like:

    r->filterThings();  

where correct function pointer has been set so that in typically the "nearest" ModuleX_filterThings() would be correct definition.

At present doing a regex search for "filterThings" does not respect nearness order, is it too difficult to get this?

GHT


reply via email to

[Prev in Thread] Current Thread [Next in Thread]