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.178 -- Release Build+52bde36e42c7b2f52d1e2cc6bb29e593f446f07c
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