Debian Code Search FAQ
Q: What kind of keywords can I use in the search field?
Each keyword must be specified as "type:value", without additional spaces.
Keywords are separated from search terms by space, e.g. "printf filetype:c".
Filters file names according to their extension.
To find source code dealing with XMPP written in Perl, you could search for "XMPP filetype:perl".
The currently supported languages are c, c++, perl, python, go, java, ruby, shell, vala.
Searches only within the specified Debian source package.
To find all calls to xcb_create_window which the window manager i3 does, you could search for "xcb_create_window package:i3-wm".
Q: Can I use regular expressions?
Why yes! The full syntax is described at RE2:Syntax.
Q: Where is the source code of DCS?
You can find the source at github.com/debiancodesearch/dcs
Q: Which Debian distributions are indexed (e.g. testing, sid, experimental)?
Currently, DCS indexes sid only. If you have good arguments for extending or changing this, please let us know. Consider that including multiple versions of the source will lead to more search results from “the same” code.