I ran into some problems where a fairly simple rule fails in 5.0.1 and
worked in 4.0.7.
I have created an issue on JIRA
https://jira.jboss.org/jira/browse/JBRULES-2136 and was wondering if
someone else has come across that same type of problem.
The rule is:
package org.drools.rules.test
import org.drools.rules.test.SimpleStringType
rule "SimpleKeywordTest"
dialect "java"
when
$_theFact : SimpleStringType( stringValue matches
".*\s(ADDR)\s.*|(ADDR)\s.*|.*\s(ADDR)" )
then
$_theFact.setValid(false);
end
Whenever the stringValue contains something like 'MY ADDR' the rule
should fire but it doesn't in 5.0.1
Corneil