nom::take_str!
[−]
[src]
macro_rules! take_str ( ( $i:expr, $size:expr ) => ( map_res!($i, take!($size), from_utf8) ); );
take!(nb) => &[T] -> IResult<&[T], &str>
same as take! but returning a &str