## Deck Search Syntax Help
The search bar recognizes a set of special commands.
In this list of examples below, each entry has an explanation and can be clicked to test the query. Note that all searches are case insensitive.
- Display Name (The deck name, or the filename if the deck name isn't set):
- red deck wins (Any deck with a display name containing the words red, deck, and wins)
"red deck wins" (Any deck with a display name containing the exact phrase "red deck wins")
- Deck Name:
- n:aggro (Any deck with a name containing the word aggro)
- n:red n:deck n:wins (Any deck with a name containing the words red, deck, and wins)
n:"red deck wins" (Any deck with a name containing the exact phrase "red deck wins")
- File Name:
- f:aggro (Any deck with a filename containing the word aggro)
- f:red f:deck f:wins (Any deck with a filename containing the words red, deck, and wins)
f:"red deck wins" (Any deck with a filename containing the exact phrase "red deck wins")
- Relative Path (starting from the deck folder):
- p:aggro (Any deck that has "aggro" somewhere in its relative path)
p:edh/ (Any deck with "edh/" in its relative path, A.K.A. decks in the "edh" folder)
- Deck Contents (Uses card search expressions):
- [[plains]] (Any deck that contains at least one card with "plains" in its name)
- [[t:legendary]] (Any deck that contains at least one legendary)
- [[t:legendary]]>5 (Any card that contains at least 5 legendaries)
[[]]:100 (Any deck that contains exactly 100 cards)
- Negate:
soldier -aggro (Any deck filename that contains "soldier", but not "aggro")
- Branching:
t:aggro OR o:control (Any deck filename that contains either aggro or control)
- Grouping:
red -([[]]:100 or aggro) (Any deck that has red in its filename but is not 100 cards or has aggro in its filename)