/// Find the next regex match to the right of the origin point.
///
/// The origin is always included in the regex.
Find the next regex match to the right of the origin point.
The origin is always included in the regex.
Find the next regex match to the right of the origin point . The origin is always included in the regex .
pub fn regex_search_right(&self, start: Point<usize>, end: Point<usize>) -> Option<Match> {
        let RegexSearch { right_fdfa: fdfa, right_rdfa: rdfa, .. } = self.regex_search.as_ref()?;
        // Find start and end of match.
        let match_end = self.regex_search(start, end, Direction::Right, &fdfa)?;
        let match_start = self.regex_search(match_end, start, Direction::Left, &rdfa)?;
        Some(match_start..=match_end)
    }
pub fn regex_search_right ( & self , start : Point < usize > , end : Point < usize > ) -> Option < Match > { let RegexSearch { right_fdfa : fdfa , right_rdfa : rdfa , .. } = self . regex_search . as_ref ( ) ? ; // Find start and end of match. let match_end = self . regex_search ( start , end , Direction :: Right , & fdfa ) ? ; let match_start = self . regex_search ( match_end , start , Direction :: Left , & rdfa ) ? ; Some ( match_start ..= match_end ) }
Find the next regex match to the right of the origin point.
Find the next regex match to the right of the origin point .
&self
start
Point<usize>
end
Point<usize>