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 ( _
	pattern As String _
) As ScriptEvent
C#
public static ScriptEvent FromRegex(
	string pattern
)

Parameters

pattern
Type: System..::..String
Regular expression pattern to match.

Return Value

ScriptEvent that matches the regular expression.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also