Ejemplo n.º 1
0
        public override int Match(string underlying_text, int starting_index, int ending_index)
        {
            int minlen = Patterns.match_repeat(min, pp, underlying_text, starting_index, ending_index, 0);

            if (MISMATCH == minlen)
            {
                return(MISMATCH);
            }
            return(Patterns.match_many(pp, underlying_text, starting_index + minlen, ending_index, minlen));
        }
Ejemplo n.º 2
0
 public override int Match(string underlying_text, int starting_index, int ending_index)
 {
     return(Patterns.match_many(pp, underlying_text, starting_index, ending_index, 0));
 }