Google Labs has introduced Google Code Search, which lets programmers look for source code on the web. It allows searching with regular expressions (including POSIX extensions) and limiting results by package name or programming language. The advanced search page lets you specify case sensitivity. Their crawler even does its best to identify what license applies to the code. It works, but is described as "still in the early stages of development".