3 ms·
Source code and programming related searches are often problematic. For example, "-" is a search operator, and so is the word "and". Special characters are drop
by ericb 16y ago
Source code and programming related searches are often problematic. For example, "-" is a search operator, and so is the word "and". Special characters are dropped by default. Also, specifying the language results must be in would be handy. There has been some work on this (koders.com) and you can work around it on google with quotes, but I'd say there's no killer appp yet.
Some query examples:
foo -bar (where bar is a command line option)
foo and bar
@username
session[:user]
"rails nested routes"
One particular problem is that google has an anti-youth bias, so very often, I get old doc or results for an error or tutorial unless I'm careful. For example, "rails nested routes" returns old rails 2 route info unless I add in "rails 3"
- k0nad 16y agoRuss Cox developed regular expression searching for Google Code - hence his interest in non-pathalogical regular expression engines unlike Perl's which can go exponential time on you - http://swtch.com/~rsc/regexp/ http://swtch.com/~rsc/regexp/ Here's a search for 4 letter only .coms i.e. @[a-z]{4}.com[^.] http://www.google.com/codesearch?hl=en&lr=&q=%40[a-z]{4}.com[^.]&sbtn=Search http://www.google.com/codesearch?hl=en&lr=&q=%40[a-z...
- k0nad 16y agoAlso google has "search by date" in advanced