When looking for instances of our function, add the requirement that the function name needs to be followed with a '(' character.
Otherwise for example if we have two functions, myFunc and myFunc1 and we are looking for myFunc, then the second function will be mistakenly matched. By including the '(', we will search for myFunc( and thus myFunc1 will not be matched.
Another good catch – I mis-read what you were checking here.. good idea to check for the ( when comparing where the function is called to avoid similar named ones.
When looking for instances of our function, add the requirement that the function name needs to be followed with a '(' character.
Otherwise for example if we have two functions,
myFunc
andmyFunc1
and we are looking formyFunc
, then the second function will be mistakenly matched. By including the '(', we will search formyFunc(
and thusmyFunc1
will not be matched.