Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: StringerexMatch<TResult> MatchExact(string, int, int?)

Declaration

public StringerexMatch<TResult> MatchExact(
    string input,
    int mustStartAt = 0,
    int? mustEndAt = null
)

Summary

Determines whether the given string matches this regular expression exactly, and if so, returns information about the match.

Parameters

stringinput String to match the regular expression against.
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 string).

Returns

An object describing the regular expression match in case of success; null if no match.