Function ra_ap_test_utils::extract_tags
source · pub fn extract_tags(
text: &str,
tag: &str
) -> (Vec<(TextRange, Option<String>)>, String)
Expand description
Extracts ranges, marked with <tag> </tag>
pairs from the text
pub fn extract_tags(
text: &str,
tag: &str
) -> (Vec<(TextRange, Option<String>)>, String)
Extracts ranges, marked with <tag> </tag>
pairs from the text