Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by colin353

2 years 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

colin353

Reply

arthurcolle  2 years ago

You can do code blocks with 4 consecutive spaces. Backticks are not supported unfortunately

catchmeifyoucan  2 years ago

Ooh nice, this looks great! Thanks!!

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities