2 ms·
Actually, I would really just be happy with better docs. In code search, for example, this appears to work: foo AND bar NOT baz OR fizz So, it supports AND,
by tyingq 10y ago
Actually, I would really just be happy with better docs. In code search, for example, this appears to work:
foo AND bar NOT baz OR fizz
So, it supports AND, NOT, and OR. Nowhere, though, does it say that. I don't know if I can group these to get around precedence either. Parenthesis are ignored. It does mention NOT somewhere. And, there's no navigation to search help by the search button. I had to google to find out any help was available.
Also, it ignores some characters for unknown reasons. Like $, for example. That's a meaningful sigil in Perl, PHP, and so on...it's quite frustrating that it's ignored.
- OJFord 10y ago> this appears to work: foo AND bar NOT baz OR fizz `AND` being implicit in `bar NOT baz`, and in `foo bar`. Also AND/OR is per file, rather than line which I wondered after reading this comment. There's some information here [0] that's mainly centred on issues/PRs, but some transferable (this might be what you referred to that does mention NOT). There's also a bit more information here [1]; it does at least acknowledge that `$` will be swallowed. [0] - https://help.github.com/articles/search-syntax https://help.github.com/articles/search-syntax [1] - https://help.github.com/articles/searching-code/ https://help.github.com/articles/searching-code/