Macro peel_ip::prelude::take_until_and_consume []

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

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