gitgithubsearch

How can I do case-sensitive global seach in github?


I want to do a case-sensitive global search by code through all GitHub repos? Is there any way to do this?

I tried exact match "AF_UNIX" instead of AF_UNIX, but it still shows this for example:

static void __exit af_unix_exit(void)

This very much clogs the output and makes it difficult to search
'AF_UNIX' also didn't help, is searches with quotes..

Please help, sorry if it's obvious.


Solution

  • Supporting this is on the GitHub roadmap, but for now, you can use a regex marked as case-sensitive as a workaround (see docs):

    /(?-i)AF_UNIX/