veiset / poe-vendor-string

Path of Exile Vendor Search tool
60 stars 16 forks source link

"^[a-z]+ F|atu" "ask$|aff" does not match a flask with "of allaying" #138

Open draoncc opened 6 months ago

draoncc commented 6 months ago

When rolling for a flask with the following config:

The produced regex "^[a-z]+ F|atu" "ask$|aff" does not match an "Eternal Life Flask of Allaying"

veiset commented 6 months ago

Hey. Thanks for the report. 10/10 description, I'll look in to this tomorrow.

melink14 commented 2 months ago

I noticed this too, and I think the problem is that the beginning of the item doesn't match [a-z] because there are spaces? I have to test more but so far making it [a-z ] makes it match (but not sure if it over matches yet)

melink14 commented 2 months ago

That obviously doesn't work since everything matches space... haha.

I only care about divine life flasks so now I'm trying to start with ^Di which seems to pass at least the most basic tests.