TagRegex Class

Definition

Provides a regular expression to parse the opening tag of an HTML element, an XML element, or an ASP.NET Web server control tag.

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

public class TagRegex : System.Text.RegularExpressions.Regex
Inheritance
TagRegex

Inherited Members

System.Object

System.Text.RegularExpressions.Regex

Remarks

The TagRegex class provides a regular expression that ASP.NET uses internally to parse the opening tag of an HTML element, an XML element, or an ASP.NET Web server control tag, for applications that target the .NET Framework 4 or later versions. ASP.NET uses the TagRegex35 class for applications that target the .NET Framework 3.5 and earlier versions.

Note

The System.Web.RegularExpressions classes are used internally by the .NET Framework to parse ASP.NET pages.

Constructors

TagRegex()

Initializes a new instance of the TagRegex class.

TagRegex(TimeSpan)

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