>>I want the programs/methods that have a SQLEXEC followed by 'thealias' but not necessarily in the same line. This is close, but seems to be on the same line only.
>>
>>
sqlexec\(.*'thealias'\)
As far as I understand gofish, there is no option to regexp over more then a line (this is an internal regexp option what I do not see exposed. Stupid VB regexp has no switch in the pattern as far as I know.)
Otherwise it would be a pain with something like sqlexec\s*\([^\)]*['"\[]thealias['"\]].*\)
what still not include new line(s)My idea:
use gofish to look up ['"\[]thealias['"\]] - regexp, the alias in string delimiters. And then, filter on the result to find sqlexec in the same method / procedure. gofish owns the ability of a second run / filter to the result.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]