product-example 1 linked patterns checked
GitHub Code Search syntax
Documents search terms, exact strings, Boolean operators, parentheses, qualifiers such as repo, language, path, content, and is, regular expressions, and spacing rules for unambiguous advanced code queries.
Read with a purpose
What this source can teach
Use this source to inspect a concrete implementation and the decisions visible in its context.
- Start with the original. Open the source and find the guidance or example relevant to your task.
- Trace the connection. Use the claim notes below to see how this site applies the source to specific patterns.
- Check the setting. Compare the source's platform, people, and constraints with your own decision.
Pattern Decisions This Source Supports
| Pattern | Supported decision | Required contract | Claim note |
|---|---|---|---|
| Advanced search | Choose advanced search when users must combine multiple search clauses before execution, such as field plus operator plus value joined by AND, OR, or NOT. | Adding a clause appends a visible field, operator, value, and joiner to the canonical query state. | GitHub documents advanced code search syntax including exact strings, Boolean logic, qualifiers, parentheses, and regular expressions. |
Comparisons supported by this source
- Advanced search vs basic search vs filter panel vs search scope selector
GitHub documents exact strings, Boolean operators, parentheses, qualifiers, regular expressions, and spacing rules for code search syntax.
Evidence Role
This source is treated as product-example evidence. Its value comes from the specific claims and setting described above.
Publisher: GitHub Docs. Last checked: .