DirectiveRegex Constructors

Definition

Initializes a new instance of the DirectiveRegex class.

Overloads

DirectiveRegex()

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the DirectiveRegex class.

DirectiveRegex(TimeSpan)

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the DirectiveRegex class with a specified time-out value.

DirectiveRegex()

Initializes a new instance of the DirectiveRegex class.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 DirectiveRegex();
public DirectiveRegex ();
Public Sub New ()

Remarks

This constructor instantiates a compiled regular expression whose predefined regular expression pattern is the following:

\G<%\s*@(\s*(?<attrname>\w[\w:]*(?=\W))(\s*(?<equal>=)\s*"(?<attrval>[^"]*)"|\s*(?<equal>=)\s*'(?<attrval>[^']*)'|\s*(?<equal>=)\s*(?<attrval>[^\s%>]*)|(?<equal>)(?<attrval>\s*?)))*\s*?%>

Applies to

DirectiveRegex(TimeSpan)

Initializes a new instance of the DirectiveRegex class with a specified time-out value.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 DirectiveRegex(TimeSpan A_1);
public DirectiveRegex (TimeSpan A_1);
new System.Web.RegularExpressions.DirectiveRegex : TimeSpan -> System.Web.RegularExpressions.DirectiveRegex
Public Sub New (A_1 As TimeSpan)

Parameters

A_1
TimeSpan

A time-out interval, or InfiniteMatchTimeout if matching operations should not time out.

Remarks

The A_1 parameter represents the maximum time interval during which the regular expression engine tries to find a match before the operation times out and a RegexMatchTimeoutException expression is thrown.

Applies to