pub fn find_matches_within_haystack<'a>(
haystack: &'a str,
pattern: &str,
case_insensitive: bool,
outer: bool
) -> (Vec<Match<'a>>, Option<Regex>)Expand description
This function is basis for both pattern_matches_vec() and pattern_matches_outer() and will be used with string-patterns-extras for replicate look-ahead and look-behind behaviour It returns a flattened vector of Match objects