ScriptEvent.FromRegex Method
Namespace: Rebex.TerminalEmulation
Assembly: Rebex.Terminal.dll (version 7.0.9083)
FromRegex(Regex)
Gets a ScriptEvent that matches the regular expression.
Declaration
public static ScriptEvent FromRegex(Regex regex)
Parameters
Type | Name | Description |
---|---|---|
Regex | regex | Regular expression to match |
Returns
Type | Description |
---|---|
ScriptEvent | ScriptEvent that matches the regular expression. |
FromRegex(String)
Gets a ScriptEvent that matches the regular expression.
Declaration
public static ScriptEvent FromRegex(string pattern)
Parameters
Type | Name | Description |
---|---|---|
String | pattern | Regular expression pattern to match. |
Returns
Type | Description |
---|---|
ScriptEvent | ScriptEvent that matches the regular expression. |