pub fn visible_regex_match_iter<'a, T>(
    term: &'a Term<T>,
    regex: &'a RegexSearch
) -> impl Iterator<Item = Match> + 'a
Expand description

Copied from alacritty/src/display/hint.rs: Iterate over all visible regex matches.