Function snoot::simple_parse
[−]
[src]
pub fn simple_parse<'a, S: Into<StrTendril>>(
string: S,
splitters: &'a [&'a str],
file: Option<&'a str>
) -> Result
Parses some text with the builtin tokenizer.
splitters
is a list of strings that should be split on the tokenization level.
As an example: [":"] will make "foo:bar" split into ["foo", ":", "bar"] during tokenization.