[][src]Function mrf::matcher::match_all

pub fn match_all(s: &str, matchers: &[Matcher]) -> Result<Vec<usize>, Error>

Match string with matchers.

Arguments

  • s - String slice to match.
  • matchers - Slice of matchers to match with.

Returns

A Result containing a Vec of indices pointing to the start of each match.