Skip to main content

fuzzy_subsequence

Function fuzzy_subsequence 

Source
pub fn fuzzy_subsequence(needle: &str, haystack: &str) -> bool
👎Deprecated:

use vtcode_commons::search::fuzzy_match or FuzzyQuery

Expand description

Returns true when the characters from needle can be found in order within haystack.

Kept for source compatibility with the published crate. New code should use fuzzy_match or FuzzyQuery, which share the canonical nucleo-matcher behavior used by every other fuzzy-search surface.