Skip to main content

required_trigrams

Function required_trigrams 

Source
pub fn required_trigrams(
    pattern: &str,
    case_insensitive: bool,
) -> Option<Vec<u32>>
Expand description

Required trigrams for a grep pattern, or None when the overlay must not prune (regex, too short, or Unicode case-fold).