Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: bool IsMatchExact(string, int, int?)

Declaration

public bool IsMatchExact(
    string input,
    int mustStartAt = 0,
    int? mustEndAt = null
)

Summary

Determines whether the given string matches this regular expression exactly.

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

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