Macro peel_ip::prelude::take_until_s
[−]
macro_rules! take_until_s { ( $ input : expr , $ substr : expr ) => { ... }; }
take_until_s!(&str) => &str -> IResult<&str, &str>
generates a parser consuming all chars until the specified string is found and leaves it in the remaining input