- 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 LookingAtFunctionExtension
extends org.wso2.siddhi.core.executor.function.FunctionExecutor
lookingAt(regex, inputSequence)
This method attempts to match the 'inputSequence', starting at the beginning, 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 lookingAt(regex, inputSequence);
regex : STRING
inputSequence : STRING
Return Type(s): BOOLEAN