Function newline
fn newline<I, Error: ParseError<I>>(input: I) -> crate::internal::IResult<I, char, Error>
where
I: Input,
<I as Input>::Item: AsChar
Matches a newline character '\n'.
Streaming version: Will return Err(nom::Err::Incomplete(_)) if there's not enough input data.
Example
# use ;
# use newline;
assert_eq!;
assert_eq!;
assert_eq!;