fuzzysort icon indicating copy to clipboard operation
fuzzysort copied to clipboard

spaces affect fuzzysort.single() score

Open Allain55 opened this issue 2 years ago • 0 comments

If the search and target params equals but there are spaces in them than the single methods result won't be 0

fuzzysort.single('some string that contains my query.', 'some string that contains my query.'), result score: -188.9

fuzzysort.single('somestringthatcontainsmyquery.', 'somestringthatcontainsmyquery.') result score: -0

Allain55 avatar Jun 20 '22 13:06 Allain55