I wanted to write a regex query while defining a rule, to partially match strings. Is it possible ?
Anything you write in a
match clause you can write in a rule! So you can do things like this:
when of a rule
If you have to proof some inputs for given logic you can set also regex expressions for string attributes when this is what you are searching for.
This is a schema:
$p isa person, has name $personName;
$e isa employee, has name $employeeName;
$personName like ^$employeeName
I am getting an error
$employeeName has to be a constant