DirectiveRegex Constructor ()

 

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.

Namespace:   System.Web.RegularExpressions
Assembly:  System.Web.RegularExpressions (in System.Web.RegularExpressions.dll)

public DirectiveRegex()

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*?%>

.NET Framework
Available since 1.1
Return to top
Show: