Matching string to a table of expressions
I would like to take an input string and check if it matches any expression in a DataTable of expressions.
For example, if the input string is "SomeError1", and the expressions in the DataTable are:
"SomeError.*"
"SomeOtherError.*"
".*Error"
I want to query if the input string matches any of the expressions in the table. In this case, it would match "SomeError.*".
I've tried querying the DataTable entries with LIKE and Matches queries:
"filters": {
"type": "Matches",
"fieldName": "item",
"expression": "SomeError1"
}
"filters": {
"type": "LIKE",
"fieldName": "item",
"value": "SomeError1"
}
but it only returns a result if the value/expression field is the expression.
Is there any way to accomplish this?
Thanks!

