Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: bool IsMatchUpTo<T, TMatch, TGenerex, TGenerexMatch>(this T[], GenerexBase<T, TMatch, TGenerex, TGenerexMatch>, int?)

Declaration

public static bool IsMatchUpTo<T, TMatch, TGenerex, TGenerexMatch>(
    this T[] input,
    GenerexBase<T, TMatch, TGenerex, TGenerexMatch> generex,
    int? mustEndAt = null
)

Summary

Determines whether the given input sequence matches this regular expression up to a specific index.

Generic type parameters

T Type of the objects in the collection.
TMatch See GenerexBase<T, TMatch, TGenerex, TGenerexMatch>.
TGenerex
  • Must derive from: RT.Generexes.GenerexBase<T, TMatch, TGenerex, TGenerexMatch>.
See GenerexBase<T, TMatch, TGenerex, TGenerexMatch>.
TGenerexMatch See GenerexBase<T, TMatch, TGenerex, TGenerexMatch>.

Parameters

this T[]input Input sequence to match the regular expression against.
GenerexBase<T, TMatch, TGenerex, TGenerexMatch>generex The regular expression to match.
int?mustEndAt Index at which the match must end (default is the end of the input sequence).

Returns

true if a match ending at the specified index exists (which need not begin at the start of the sequence); otherwise, false.