Macro nom::take_until_and_consume1 [] [src]

macro_rules! take_until_and_consume1 {
    ($i:expr, $substr:expr) => { ... };
}

take_until_and_consume1!(tag) => &[T] -> IResult<&[T], &[T]> generates a parser consuming bytes (at least 1) until the specified byte sequence is found, and consumes it