alacritty::display::hint

Function regex_match_at

Source
fn regex_match_at<T>(
    term: &Term<T>,
    point: Point,
    regex: &mut RegexSearch,
    post_processing: bool,
) -> Option<Match>
Expand description

Retrieve the match, if the specified point is inside the content matching the regex.