Function chumsky_branch::prelude::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 (""
).