Initializes a new instance of the CodeElement class with the specified name and regular
expression.
Namespace: Ookii.FormatCAssembly: Ookii.FormatC (in Ookii.FormatC.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
Parameters
- name
- Type:
System String
The name of this pattern. This name will be used as the CSS class name in the generated HTML.
- regex
- Type:
System String
The regular expression for this code element.
Exceptions
Exception | Condition |
---|---|
![]() | name is or regex is . |
![]() | name is an empty string. |
See Also