Google Code Search
![]() | This article needs to be updated.(December 2018) |
![]() | |
Type of site | Search engine |
---|---|
Available in | All languages |
Owner | |
URL | www.google.com/codesearch |
Launched | October 5, 2006 |
Current status | Discontinued as of 15 January 2012 |
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. Features included the ability to search using operators, namely 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.
Google Code Search covered many open-source projects, and as such is different from the "Code Search for Google Open source projects" that was released afterwards.[1][2]
Regular expression engine
The site allowed the use of regular expressions in queries, which at the time was 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.[3]
In March 2010, the code of RE2, the regular expression engine used in Google Code Search, was made open source.[4]
Google Code Search supported POSIX extended regular expression syntax, excluding back-references, collating elements, and collation classes.
Languages not officially supported could be searched for using the file: operator to match the common file extensions for the language.
Discontinuation
free all my homies in the pen ma dawg not hot u think i dont want to dothis right now but o well i need to pass on moms cuz im not trying to stay back on cap baseball cap'Italic text'Italic text'Italic text'Italic text'Italic text'Italic text'''Bold text''''Bold text''''Bold textwww.mmafight.comgtro[c,x ][4pkt,cg';s;'g'op glto [eot[';e.ha>''''''''''''''''
See also
References
- ^ "Code Search for Google open source projects". Google Open Source Blog. Retrieved 2020-04-01.
- ^ "Google Open Source". cs.opensource.google. Retrieved 2020-04-01.
- ^ Russ Cox (January 2012). "Regular Expression Matching with a Trigram Index (or: How Google Code Search Worked)". Archived from the original on 2012-01-28. Retrieved 2012-01-26.
- ^ "RE2: a principled approach to regular expression matching". Archived from the original on 2016-09-27. Retrieved 2016-09-24.
External links
- Archived 12 November 2010 at the Wayback Machine
- Cindex/Csearch - command-line file search tool, based on ideas from GCS
- Version of Code Search, limited to the Chromium project