public static T Regex <T, NothingOrPrepared>(this MatchCollector <T, string, NothingOrPrepared> that, string expected, Action result) { var regex = new Regex(expected); return(that.Regex(regex, result)); }
public static T Regex <T, Out>(this MatchCollector <T, string, Out> that, string expected, Func <Out> result) { var regex = new Regex(expected); return(that.Regex(regex, result)); }
public static T Regex <T, Out>(this MatchCollector <T, string, Out> that, string expected, RegexOptions options, Out result) { var regex = new Regex(expected, options); return(that.Regex(regex, result)); }