xml_index_of_match

Function xml_index_of_match 

Source
pub fn xml_index_of_match(xml: &str, pattern: &str, start_index: usize) -> usize
Expand description

Find the index of the first match

§Parameters

  • xml: the xml string
  • pattern: the pattern
  • start_index: the start index

§Returns

The index of the first match