Google Code Search is the latest product out of the labs over there in La-La land. Need a code snippet, want to check syntax? It’s all here baby. You can even specify that you only want results delivered in a specific language (and no we don’t mean Swedish, grandma). Neat.
Google Code Search helps you find function definitions and sample code by giving you one place to search publicly accessible source code hosted on the Internet. With Google Code Search, you can:
- Use regular expressions to search more precisely
- Restrict your search by language, license or filename
- View the source file with links back to the entire package and the webpage where it came from
What kind of code are you crawling? We’re crawling as much publicly accessible source code as we can find, including archives (.tar.gz, .tar.bz2, .tar, and .zip), CVS repositories and Subversion repositories.