Function glue::combinators::matchers::soi

source ยท
pub fn soi<'a>() -> impl Parser<'a, &'a str>
Expand description

Match the start of input.

assert_eq!(soi().test("foobar"), true);
assert_eq!(find_all((is("foobar"), soi())).test("foobar"), false);