Gemstone Timeseries Library
Show/Hide TOC

# StatisticsEngineRegexMatch Method

Determines whether the given signal reference matches the signal reference regular expression using the given suffix.

## Definition

Namespace: Gemstone.Timeseries.Statistics
Assembly: Gemstone.Timeseries (in Gemstone.Timeseries.dll) Version: 1.0.155 -- Release Build+e115e0aae9dba2e478171d226b178f6065fb745f
C#
View Source Request Example

    public static bool RegexMatch(
    	string signalReference,
    	string suffix
    )

VB
View Source Request Example

    Public Shared Function RegexMatch (
    	signalReference As String,
    	suffix As String
    ) As Boolean

C++
View Source Request Example

    public:
    static bool RegexMatch(
    	String^ signalReference,
    	String^ suffix
    )

JavaScript
View Source Request Example

    Gemstone.Timeseries.Statistics.StatisticsEngine.RegexMatch = function(signalReference, suffix);

#### Parameters

signalReference String
  The signal reference to be matched against the regular expression.
suffix String
  The suffix used by a particular type of statistic.

#### Return Value

Boolean
Flag indicating whether the signal reference matches the regular expression.

## Remarks

The format for signal reference of statistics is: ACRONYM!SUFFIX-ST#, where ACRONYM is the acronym of the measurement's source, SUFFIX is the suffix given as a parameter to this method, and # is an index used to differentiate between statistics with the same source and type.

## See Also

#### Reference

StatisticsEngine Class
Gemstone.Timeseries.Statistics Namespace