Function abnf_core::complete::crlf

source ·
pub fn crlf<I, E>(input: I) -> IResult<I, (char, char), E>where
    I: InputIter + Slice<RangeFrom<usize>>,
    <I as InputIter>::Item: AsChar,
    E: ParseError<I>,
Expand description

Internet standard newline

CRLF = CR LF

Note: this variant will strictly expect “\r\n”. Use crlf_relaxed to accept “\r\n” as well as only “\n”.