parse_port

Function parse_port 

pub fn parse_port<'a, E>(input: &'a str) -> Result<(&'a str, &'a str), Err<E>>
where E: ParseError<&'a str>,
Expand description

“<port_prefix>[0-9/\.-]+”

Your format may not be like this. If the case, use parse_ident or else instead.