It's not like they're going to use the same exact search algorithm or parameters for everything. Look at Google Code Search (http://google.com/codesearch). It even supports (limited) regexp!
It seems you are confusing static and strong typing. C is indeed statically typed, but also weakly typed.
Logic is a systematic method of coming to the wrong conclusion with confidence.