Ejemplo n.º 1
0
        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));
        }
Ejemplo n.º 2
0
        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));
        }
Ejemplo n.º 3
0
        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));
        }