Here is an example. The query "format(args" will match "func formatArgs(args", but not "func format(args".
https://github.com/search?q=format%28args+repo%3Asimonz05%2F...
41–50 of 113 posts
Here is an example. The query "format(args" will match "func formatArgs(args", but not "func format(args".
https://github.com/search?q=format%28args+repo%3Asimonz05%2F...
On a side note, I wonder how long before it'll be used to find security flaws in code (that results in an exploit) - I bet there are hundreds of hard-coded passwords, insecure defaults etc. all over the place.
I just updated a userscript I created a while back so it works with the new code search: https://github.com/skratchdot/github-code-search.user.js/ It's just a shortcut for searching the current repository you are viewing (by adding a search box next to the tag count).
Go to one of my org's repos: http://github.com/railsforcharity/spokenvote
and search this string (which is in our seeds.rb): users I not only don't get the right result, I don't get any text in the search results area of the page, not even a nothing found message. Same thing if I do the search on my personal fork.
Oh my. And suddenly, github gave grep to the web. Thanks for that great work.
Earlier quoted context omitted.
Have you considered renaming your fork? Like xyz-old? One of the things that annoys (and sometimes infuriates) me about github is identifying the fork I want to be using. A million old blog posts point to the wrong place. If that repo were replaced with a new blank repo saying "moved to here" it'd be a big help.
I did change the readme to point to the new mainline development. I still think there might be some utility in having the code as I left it around, so I didn't delete the repo.
Are there any plans to make this available through the API?