7.7.8.52. GEL_MatchesConnection()ΒΆ

Queries if the connection name matches the specified regular expression.

Syntax

GEL_MatchesConnection( "regex" );

Parameters

regex: Regular expression to match against the connection name. The regular expression must be enclosed in quotation marks.

Description

Returns 1 if the provided regular expression matches the connection of the current GEL context's target. Returns 0 otherwise. The connection name is the connectionType in the connection's xml definition file.

Synchronous

Synchronous from GEL: Yes

Completely synchronous: Yes

Example

GEL_MatchesConnection("JLINK");
GEL_MatchesConnection("TIXDS.*");