Hacker News new | ask | show | jobs
by colin353 1133 days ago
Hmm, you can construct a regular expression, something like:

    lang:tsx /<Button[^\\].\* color="red"/
Example:

https://github.com/search?q=lang%3Atsx+%2F%3CButton%5B%5E%5C...

2 comments

You can do code blocks with 4 consecutive spaces. Backticks are not supported unfortunately
Ooh nice, this looks great! Thanks!!