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_some(max - min, pp, underlying_text, starting_index + minlen, ending_index, minlen)); }
public override int Match(string underlying_text, int starting_index, int ending_index) { //UPGRADE_NOTE: Final was removed from the declaration of 'minlen '. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1003'" int minlen = Patterns.match_repeat(min, cp, underlying_text, starting_index, ending_index, 0); if (minlen == MISMATCH) { return(MISMATCH); } return(Patterns.match_some(max - min, cp, underlying_text, starting_index + minlen, ending_index, minlen)); }
public override int Match(string underlying_text, int starting_index, int ending_index) { return(Patterns.match_repeat(n, pp, underlying_text, starting_index, ending_index, 0)); }