[][src]Function yz_nomstr::parse_string

pub fn parse_string<'i, I: ?Sized, E>(
    delim: char
) -> impl Fn(&'i I) -> IResult<&'i I, Cow<'i, [u8]>, E> where
    E: ParseError<&'i I>,
    I: AsBytes + 'i,
    &'i I: MyInput + PartialEq,
    <&'i I as InputIter>::Item: AsChar + Copy,
    <&'i I as InputTakeAtPosition>::Item: AsChar + Copy

Parse a string. Use a loop of parse_fragment and push all of the fragments into an output string.