Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

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

Declaration

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

Summary

Determines whether the given input sequence matches this regular expression exactly.

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.
intmustStartAt Index at which the match must start (default is 0).
int?mustEndAt Index at which the match must end (default is the end of the input sequence).

Returns

true if a match starting and ending at the specified indexes exists; otherwise, false.