taw / magic-search-engine

Search engine for Magic cards
MIT License
45 stars 20 forks source link

Not Dead After All #266

Closed pyyhttu closed 10 months ago

pyyhttu commented 11 months ago

This is minor, as I can do the search for the card with quotes and it works: https://mtg.wtf/card?q=%22not+dead+after+all%22

In Scryfall though, no quotes are needed: https://scryfall.com/search?q=not+dead&unique=cards&as=grid&order=name

axxroytovu commented 10 months ago

This is definitely because of how "not" is being parsed. It also breaks trying to look for "Not Forgotten", "Waste Not", and "Not of This World"

taw commented 10 months ago

Word "not" is treated as alias for "-" for search like it was in MCI, but I don't know if anyone actually uses this feature. Scryfall doesn't do it, and I never listed it in syntax help, so maybe I should just get rid of it.

taw commented 10 months ago

Changed so "not" is treated as a normal word now.