Drupal Code Search is a search engine for Drupal code. It's a great way to learn how specific Drupal functions are being used in other modules or themes. Now you can quickly find real life examples for functions and hooks that might not be documented anywhere else. You can even filter results by Drupal version or programming language.
Note: This site is in beta and very experimental!
Drupal is a content management system used by thousands of websites and online communities.
Drupal Code Search allows you to search with regular expressions, a powerful pattern matching language. Regular expressions let you search for character ranges, wildcards, and other patterns. Check the Wikipedia entry for more info.
No, this site is 100% unofficial, and not affiliated with the Drupal Association or Dries Buytaert.
I did. My name is John. I'm a programmer and web designer from Ottawa, Canada. I run a number of Drupal sites, including Blamcast and Drupal Modules. I'm also a member of the Drupal Association.
My email is my first name at blamcast.net. I'd be glad to hear your suggestions, comments, and bug reports!
Results are retrieved using Google's Code Search Data API. Google indexes the code directly from Drupal's FTP site.
This is a known bug in Google's Code Search service.
Google's Code Search service is somewhat slow to update. This means a lot of new code from Drupal 6 has not been indexed yet.