You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: word_matcher.rs
    path of file: ./repos/vim-clap/crates/matcher/src/matchers
    
    the code of the file until where you have to start completion: use grep_regex::{RegexMatcher, RegexMatcherBuilder};
use std::ops::Range;
use types::{Score, WordTerm};

/// Word matching using the `RegexMatcher`.
#[derive(Debug, Clone, Default)]
pub struct WordMatcher {
    matchers: Vec<(WordTerm, RegexMatcher)>,
}

impl WordMatcher {
    pub fn new(word_terms: Vec<WordTerm>) -> Self {
        let matchers = word_terms
            .into_iter()
            .filter_map(|word_term| {
                RegexMatcherBui
    
    pub fn find_all_matches_range(&self, line: &str) -> Vec<Range<usize>> {
        use grep_matcher::Matcher;

        let mut match_start_indices = vec![];

        self.matchers.iter().for_each(|(_word_term, word_matcher)| {
            let _ = word_matcher.find_iter(line.as_bytes(), |matched| {
                match_start_indices.push(Range {
                    start: matched.start(),
                    end: matched.end(),
                });

                true
            });
        });

        match_start_indices
    }