[][src]Module sipmsg::common::nom_wrappers

Functions

from_utf8_nom
take_lws

LWS = [WSP CRLF] 1WSP ; linear whitespace

take_quoted_string
take_sws

SWS = [LWS] ; sep whitespace

take_while_trim_sws

trim start and end swses assert_eq(take_while_trim_sws(" ab c", is_char), Ok(("ab", "c"))); assert_eq(take_while_trim_sws(" \r\n\tab c", is_char), Ok(("ab", "c")));

take_while_with_escaped