Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Searching a github repo using regular expressions [closed]

Tags:

github

search


I wanted to search my company's github source website using regular expressions. is that possible in anyway?

like image 966
Salil Surendran Avatar asked Jul 10 '16 03:07

Salil Surendran


People also ask

Does Github search support regex?

Github has its own search syntax with qualifiers you can add, but not full regex. The api uses the same syntax as the in-browser search. Save this answer. Show activity on this post.

How do I search a github repository?

GitHub Codesearch can be found at github.com/codesearch and will let you type in anything you're looking for in source code and get highlighted results of any files in our public repositories that match.

How do I search for exact phrases on github?

state the specific string you're looking for using the "intext:" search operator. add the programming language you're interested in, using the "ext:" operator (i.e. "ext:py", "ext:R", "ext:rb", etc.) search in all public repos in Github using the "site:" operator mrgloom mentioned.


1 Answers

AFAIK you would need to set that up yourself. Github has its own search syntax with qualifiers you can add, but not full regex. The api uses the same syntax as the in-browser search.

like image 194
ldg Avatar answered Sep 20 '22 11:09

ldg