Skip to content

Lookup: when no matches are found, search again with all spaces removed from string #17

@ssbmars

Description

@ssbmars

When using any version of !lookup, if the submitted string does not return any matches, remove all spaces from the string and redo the search one more time.

Currently it's fairly common to see people fail a lookup query because they added unnecessary spaces. I know there are other ways to make a search more resilient against whitespace, but I suspect those solutions would take longer and be more involved to implement, so I'm suggesting this simpler solution in its stead.

If this enhancement is implemented, I will review the json data and remove whitespaces from all the aliases.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions