Google code search

http://www.google.com/codesearch

语法及示例 (有关 regexp 语法的详情)
regexp 搜索正则表达式
go{2}gle hello, world ^int printk
exact string 搜索精确字符串
“compiler happy”
file:regexp 仅在与 regexp 匹配的文件或目录中进行搜索
file:.js$ XMLHttpRequest file:include/ ioctl
file:/usr/sys/ken/slp.c “You are not expected to understand this.”
package:regexp 搜索名称与 regexp 匹配的包。
(包的名称就是其网址或 CVS 服务器信息。)
package:perl Frodo package:linux-2.6 int printk
lang:regexp 仅搜索用与 regexp 匹配的语言编写的程序
lang:lisp xml lang:”c++” sprintf.*%s
license:regexp 仅搜索许可与 regexp 匹配的文件.
license:bsd int printf -license:gpl heapsort
This entry was posted in My Life and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>