sanitize

Function sanitize 

Source
fn sanitize(value: &str) -> String
Expand description

Strip the delimiters of the extcap grammar out of a value.

Device names come off the radio, so a name containing a brace or a newline would otherwise be able to forge fields or whole lines.