mirror of
https://github.com/Dushistov/sdcv.git
synced 2025-12-16 09:51:56 +00:00
Add -e for exact searches (no fuzzy matches).
Only exact matches (or synonyms) are returned for simple searches.
This commit is contained in:
@@ -350,7 +350,7 @@ bool Library::process_phrase(const char *loc_str, IReadLine &io, bool force)
|
||||
break;
|
||||
case qtSIMPLE:
|
||||
SimpleLookup(get_impl(str), res_list);
|
||||
if (res_list.empty())
|
||||
if (res_list.empty() && fuzzy_)
|
||||
LookupWithFuzzy(get_impl(str), res_list);
|
||||
break;
|
||||
case qtDATA:
|
||||
|
||||
Reference in New Issue
Block a user