/// Attempts to decode a hexadecimally escaped string.
/// Returns an owned version of the original string if decoding failed.
pubfndecode_hex(s:&str)-> String{matchhex::decode(s.replace(r"\x","")){Ok(bytes)=>matchString::from_utf8(bytes){Ok(decoded_string)=> decoded_string,Err(_)=> s.to_string(),},Err(_)=> s.to_string(),}}