/// Get the next match in the specified direction.
Get the next match in the specified direction.
Get the next match in the specified direction .
fn next_match(&self) -> Option<Match> {
        match self.direction {
            Direction::Right => self.term.regex_search_right(self.point, self.end),
            Direction::Left => self.term.regex_search_left(self.point, self.end),
        }
    }
fn next_match ( & self ) -> Option < Match > { match self . direction { Direction :: Right => self . term . regex_search_right ( self . point , self . end ) , Direction :: Left => self . term . regex_search_left ( self . point , self . end ) , } }
Get the next match in the specified direction.
Get the next match in the specified direction .
&self