public static bool IsMatch(this IRegex re, StringSlice slice, int startFrom = 0) { var m = re.CreateEmptyMatch(); return(re.Match(slice.Buffer, slice.StartIndex + startFrom, slice.Length - startFrom, ref m)); }