Hi,
here's a simple test for which Drools 4.0.4 w/ MVEL 1.4 loops infinitely:
----
package tests;
import java.util.Map;
import java.io.File;
dialect "mvel"
rule "Rule #1"
when
p : Map (this["path"] matches File.separator);
then
System.out.println("cgi path " + p.path);
end
----
It appears to be related to the use of static String variable on the
rhs of the match clause.
- Godmar