3 ms·
Sourcegraph CEO here. To compare GitHub to Sourcegraph search, here is that same query on Sourcegraph.com (which is Sourcegraph Server running for all open-sou
by sqs 9y ago
Sourcegraph CEO here.
To compare GitHub to Sourcegraph search, here is that same query on Sourcegraph.com (which is Sourcegraph Server running for all open-source code on GitHub):
https://sourcegraph.com/search?q=repo:Kurento/+DISABLE_LIBRARIES_GENERATION https://sourcegraph.com/search?q=repo:Kurento/+DISABLE_LIBRA...
It works as expected (and as the SO poster wanted)! It shows desired results that GitHub search does not.
Regexps are also supported...give it a try!
- j1elo 9y agoI'm the poster at SO :) Very cool! I'll definitely give it a try
- nqzero 9y agocan you only search a single repo at a time ? does it parse the code and store the AST, or is it just plain text ?
- sqs 9y agoIt searches multiple repositories at a time. That query above searches all repositories in the given organization. It does have code intelligence (parsing, semantic references and go-to-def, etc.) but that search is just a text search.