nom::take_till_s! [] [src]

macro_rules! take_till_s {
    ($input:expr, $submac:ident!( $($args:tt)* )) => { ... };
    ($input:expr, $f:expr) => { ... };
}

take_till_s!(&str -> bool) => &str -> IResult<&str, &str> returns the longest list of characters until the provided function succeeds

The argument is either a function char -> bool or a macro returning a `bool