SquireTournamentServices / mtg-search-engine

This repo will have the AST for the mtg search engine. This repo is for checking if a card matches a query. It will (when I get round to it) have implementations in an array of languages.
The Unlicense
2 stars 1 forks source link

[Bug]: +2 Mace cannot be searched #35

Closed djpiper28 closed 3 hours ago

djpiper28 commented 4 hours ago

Searching for +2 mace causes an error.

djpiper28 commented 4 hours ago

Started work on this. The parser can now parse +, and '. These special chars (-_+') needs to be stripped from the input before it runs the query i.e: lim-dul'sshould be parsed as limduls, and +2 as 2.

djpiper28 commented 3 hours ago

Fixed in ee2605dc164c7f332520ef5dcb0ba4e0a006928c