BuildMaster SDK Reference
Version:

IsMatch(string input, int startat) Method

Indicates whether the regular expression specified in the LazyRegex constructor finds a match in the specified input string, beginning at the specified starting position in the string.

Syntax

public bool IsMatch(string input, int startat)

Parameters

input
Type: string

The string to search for a match.

startat
Type: int

The character position at which to start the search.

Returns

true if the regular expression finds a match; otherwise, false.

Exceptions

System.ArgumentNullException

input is null (Nothing in Visual Basic).

System.ArgumentOutOfRangeException

startat is less than zero or greater than the length of input.