- All Implemented Interfaces:
- org.wso2.siddhi.core.executor.ExpressionExecutor, org.wso2.siddhi.core.util.extension.holder.EternalReferencedHolder, org.wso2.siddhi.core.util.snapshot.Snapshotable
public class MatchesFunctionExtension
extends org.wso2.siddhi.core.executor.function.FunctionExecutor
matches(regex, inputSequence)
This method attempts to match the entire 'inputSequence' against the 'regex' pattern.
regex - regular expression. eg: "\d\d(.*)WSO2"
inputSequence - input sequence to be matched with the regular expression eg: "21 products are produced by WSO2 currently"
Accept Type(s) for matches(regex, inputSequence);
regex : STRING
inputSequence : STRING
Return Type(s): BOOLEAN