lcs-rgordon / ScavengerHunt

0 stars 20 forks source link

Regex answer checks #1

Open LexiHarrop opened 1 week ago

LexiHarrop commented 1 week ago

This allows for users to have a bit of variation with their answers

There are no related issues on Github, however I've seen people attempt to type Hillcot house or even just hillcot, whilst being marked incorrect. Edit: #25

This is open to any changes to how it checks since I sort of slapped this together and #contains() was the best I could find for this situation.

LexiHarrop commented 1 week ago

Do leave this for the end as while other locations are being added, I'll change the answers to regexs