[][src]Function sacabase::longest_substring_match

pub fn longest_substring_match<'a, Index>(
    text: &'a [u8],
    sa: &[Index],
    needle: &[u8]
) -> LongestCommonSubstring<'a> where
    Index: ToPrimitive

Searches for the longest substring match for needle in input, using its suffix array sa.