World Library  
Flag as Inappropriate
Email this Article

Google Code Search

Article Id: WHEBN0007301470
Reproduction Date:

Title: Google Code Search  
Author: World Heritage Encyclopedia
Language: English
Subject: Google Code Search.png, Codase, Beta software, Open Hub, Defunct websites
Collection: Beta Software, Code Search Engines, Defunct Websites, Discontinued Google Services
Publisher: World Heritage Encyclopedia

Google Code Search

Google Code Search
Developer(s) Google
Initial release October 5, 2006
Operating system Any (web based application)
Type Code search engine
Website (archived version from 2010)

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. Google announced that Code Search was to be shut down along with the Code Search API on January 15, 2012.[1] The service remained online until March 2013,[2] and it now returns a 404.

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 1
  • See also 2
  • References 3
  • External links 4

Regular expression engine

The site allowed the use of regular expressions in queries, which is not offered by any other search engine for code. 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]

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.

See also


  1. ^ Horowitz, Bradley (2011-10-14). "Official Blog: A fall sweep". Retrieved 2013-07-09. 
  2. ^
  3. ^ Regular Expression Matching with a Trigram Index or How Google Code Search Worked, Russ Cox, January 2012

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

This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.