mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-14 10:56:35 +02:00
This fixes cases where fuzzy matching would return a better score for a different pattern than a needle perfectly matching the haystack. As an example, when searching for "fire" in emojis, "Fire Engine" would have scored 168, while "Fire" was giving only 160. This patch makes the latter have the best possible score.
5.6 KiB
5.6 KiB