Jump to content

Google Code Search

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Qwyrxian (talk | contribs) at 17:56, 24 November 2012 (→‎See also: remove redlinks (see also is for already existing articles)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Google Code Search
Developer(s)Google
Operating systemAny (web based application)
TypeCode search engine
Websitecode.google.com/codesearch

Google Code Search was a free beta product from Google which debuted in Google Labs on October 5, 2006 allowing web users to search for open-source code on the Internet. Code Search was officially shut down along with the Code Search API on January 15, 2012[1] but remains available as of November 2012.

Features included the ability to search using operators. These are lang:, package:, license: and file:.

The code available for searching was in various formats including tar.gz, .tar.bz2, .tar, and .zip, CVS, Subversion, git and mercurial repositories.

Regular expression engine

The site allowed the use of regular expressions in queries, which is not offered by any other search engine for code.[citation needed] This makes it resemble grep, but over the world's public code. The methodology employed combines a trigram index with a custom-built, denial-of-service resistant regular expression engine.[2]

Google Code Search supported POSIX extended regular expression syntax, excluding back-references, collating elements, and collation classes.[3]

Supported languages

The list of officially supported languages was constantly changing. The following list is correct as of 31 December 2010:[4]

Languages not officially supported could be searched for using the file: operator to match the common file extensions for the language.

See also

References

Links