tirkarthi / NotificationDictionary

An android app to display meaning for selected word as notification
MIT License
149 stars 13 forks source link

ignore (trailing and leading) special characters in search #74

Open ghost opened 2 months ago

ghost commented 2 months ago

When one searches for instance for:

decadent,

...the app returns no results. decadent works as expected, giving a definition.

The user may accidentally select a period, comma or semicolon when sharing to the app -- Termux for instance highlights as follows:

Screenshot_20240902-133723_Termux

The user has to carefully select just the word itself.


Off the top of my head, there's no benefit in "exact matching" for trailing & leading punctuation and symbols. Please ignore them in the search.