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