pub fn slice_match<'a>(input: &'a str, span: &MatchSpan) -> Option<&'a str>
Returns a borrowed slice for a valid span.