Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: TManyGenerex repeatBetween<TManyGenerex, TManyGenerexMatch>(int, int, bool)

Declaration

protected TManyGenerex repeatBetween<TManyGenerex, TManyGenerexMatch>(
    int min,
    int max,
    bool greedy
)

Summary

Returns a regular expression that matches this regular expression any number of times within specified boundaries.

Generic type parameters

TManyGenerex
  • Must derive from: RT.Generexes.GenerexWithResultBase<T, System.Collections.Generic.IEnumerable<TResult>, TManyGenerex, TManyGenerexMatch>.
This type parameter is not documented.
TManyGenerexMatch
  • Must derive from: RT.Generexes.GenerexMatch<T, System.Collections.Generic.IEnumerable<TResult>>.
This type parameter is not documented.

Parameters

intmin Minimum number of times to match.
intmax Maximum number of times to match.
boolgreedytrue to prioritise longer matches (“greedy” matching); false to prioritise shorter matches (“non-greedy” matching).

Exceptions

  • System.ArgumentOutOfRangeException
    min is negative.
  • System.ArgumentException
    max is smaller than min.