Skip to content

Commit

Permalink
Update validators.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ldeluigi authored Oct 4, 2022
1 parent 81b8084 commit e0b9f5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/spellbook/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
COMPARISON_OPERATORS = r'(?::|[<>]=?|!=|=)'
NUMERIC_VARIABLE = r'(?:mv|manavalue|power|pow|toughness|tou|pt|powtou|loyalty|loy)'
SCRYFALL_QUERY_ATOM = r'(?:-?(?:' + \
r'(?:(?:c|color|id|identity)' + COMPARISON_OPERATORS + r'|(?:has|t|type|keyword|is):)(?:[^\s:<>!=]+|"[^"]")|' + \
r'(?:(?:c|color|id|identity)' + COMPARISON_OPERATORS + r'|(?:has|t|type|keyword|is):)(?:[^\s:<>!=]+|"[^"]+")|' + \
r'(?:m|mana|devotion|produces)' + COMPARISON_OPERATORS + r'(?:\{' + MANA_SYMBOL + r'\})+|' + \
NUMERIC_VARIABLE + COMPARISON_OPERATORS + r'(?:\d+|' + NUMERIC_VARIABLE + r')' + \
r'))'
Expand Down

0 comments on commit e0b9f5a

Please sign in to comment.