Closed LiaungYip closed 5 years ago
Hi @LiaungYip! Thanks for the thoughtful feedback. As a preliminary step, I've made the mod.list command use a case-insensitive regex in v0.8.4. Changing mod.select is a little more complicated since it's possible that making it less restrictive could cause mcdex to choose the wrong mod; I need to think a little about how to do that without breaking things.
In the meantime, do you want to file an issue about your build issues on Ubuntu? There's shouldn't be anything too exotic there as the Dockerfile uses an Ubuntu base when building releases.
Hi Dave - thanks for the response. I'm travelling at the moment, but will write up an issue RE: building on Ubuntu, once I get back to my desk in a couple of weeks time.
Fixed in 0.9.5
The command
mod.list
is case sensitive. This sometimes leads to guessing games for the correct capitalisation of a mod's name.For example, consider searching for the mod
voxelmap
. Do you search formap
orMap
?This also hurts a bit when trying to select mods with unknown capitalisation:
It would be nice if
mcdex
could suggest a correction:Which would also help for genuine typo errors:
I've used
github.com/texttheater/golang-levenshtein/levenshtein
for this in the past.I'm happy to submit a PR for this, but haven't been able to get the build process working on Ubuntu 17.10, and so haven't been able to do any development.