Function not_containing

Source
pub fn not_containing<'a, I, E>(
    patterns: I,
) -> impl Parser<char, String, Error = E> + 'a
where I: IntoIterator<Item = &'a str>, E: Error<char> + 'a,
Expand description

Parses any non-empty string that does not contain any of the patterns as a substring.

ยงPanics

If any of the patterns is the empty string ("").