Skip to main content

parse_attrs

Function parse_attrs 

Source
pub fn parse_attrs(attr_text: &str) -> HashMap<String, String>
Expand description

Parse key=value pairs from the attribute portion of an opening marker.

Given the text after agent:NAME , parses space-separated key=value pairs. Values are unquoted (no quote support needed for simple mode values).