I was expecting the second row to look similar to this:
Query
Example
-QUALIFIER
cats stars:>10 -language:javascript matches repositories with the word "cats" that have more than 10 stars but are not written in JavaScript.
mentions:defunkt -org:github
matches issues mentioning @defunkt that are not in repositories in the GitHub organization
Additional information
No response
Added by maintainer
These are two examples of the same qualifier, with a missing | which is messing up the formatting. We don't need two examples, and the mentions:defunkt -org:github example is a little simpler and more accessible, so let's keep that one, moving it to where the cats stars:>10 -language:javascript example was, and remove the bottom row of the table.
Thanks for opening this @HonkingGoose, you're right that this needs to be updated ✨ I've made an edit to the OP with a summary of what to change, you (or anyone else) is welcome to open a PR to address that change. Thank you 🎉
Code of Conduct
What article on docs.github.com is affected?
https://docs.github.com/en/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#exclude-certain-results
What part(s) of the article would you like to see updated?
Current table
Copy/pasted from source file: 1
-QUALIFIERExpected table
I was expecting the second row to look similar to this:
-QUALIFIERmentions:defunkt -org:githubAdditional information
No response
Added by maintainer
These are two examples of the same qualifier, with a missing
|which is messing up the formatting. We don't need two examples, and thementions:defunkt -org:githubexample is a little simpler and more accessible, so let's keep that one, moving it to where thecats stars:>10 -language:javascriptexample was, and remove the bottom row of the table.Footnotes
https://github.com/github/docs/blob/main/content/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax.md↩
The text was updated successfully, but these errors were encountered: