News for hackers. Stuff that matters.
Re:Show HN: Search code in GitHub repos using regular expres... by nickthemagicman on Sunday February 23, 2020 @04:35PM (#22399706)
You can but only in the repo itself not on a site wide scale.
Re:Show HN: Search code in GitHub repos using regular expres... by cole-h on Sunday February 23, 2020 @09:16PM (#22401095)
Really? I searched for `filename:home.nix` (which brought me to https://github.com/search?utf8=%E2%9C%93&q=filename%3Ahome.n...). That seems site-wide to me, unless I'm misunderstanding you.
Re:Show HN: Search code in GitHub repos using regular expres... by giancarlostoro on Monday February 24, 2020 @09:33AM (#22404218)
These kind of keywords really should be next to the search box with a question mark next to them or something.

TIL some of them are on this page that you only see if you search for an empty string:

https://github.com/search?q=

Click on 'prefixes'. This kind of thing should be readily available from any search box that searches through GitHub.

Re:Show HN: Search code in GitHub repos using regular expres... by nickthemagicman on Sunday February 23, 2020 @09:43PM (#22401210)
That's awesome. I didn't know about the keyword filename: I've been using the button to the left of "Clone or Download" this whole time. Thanks for the info!