Gets a ScriptEvent that matches the regular expression.

Namespace:  Rebex.TerminalEmulation
Assembly:  Rebex.Terminal (in Rebex.Terminal.dll)

Syntax

Visual Basic
Public Shared Function FromRegex ( _
	regex As Regex _
) As ScriptEvent
C#
public static ScriptEvent FromRegex(
	Regex regex
)

Parameters

regex
Type: System.Text.RegularExpressions..::..Regex
Regular expression to match

Return Value

ScriptEvent that matches the regular expression.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also