Click or drag to resize

RegexSyntax Constructor

Initializes a new instance of the CustomSyntax class.

Namespace:  EdiFabric.Core.Model.Edi
Assembly:  EdiFabric (in EdiFabric.dll) Version: 10.1.0.0 (10.1.0.0)
Syntax
public RegexSyntax(
	Regex validSymbols,
	string name = null
)

Parameters

validSymbols
Type: System.Text.RegularExpressionsRegex
The regex to match against.
name (Optional)
Type: SystemString
The optional name of the syntax set. Custom by default.
Exceptions
ExceptionCondition
ExceptionThrows exception if no valid symbols.
See Also