Function chumsky_branch::prelude::not_containing
source · pub fn not_containing<'a, I, E>(
patterns: I
) -> impl Parser<char, String, Error = E> + 'awhere
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 (""
).