A null value on the field is supposed to evaluate to true only when
comparing with null. Otherwise, it should always evaluates to false.

    []s
    Edson

2009/3/2 techy <[email protected]>

>
> Hello,
> I'm checking for condition ' field not matches ".*ABC.*" ` in my rule.
> when field value is null, rule does not fire. But if field value != null
> and
> != ABC, then rule fires.
> Is this expected output or bug? Please clarify.
>
> Thanks
>
> --
> View this message in context:
> http://www.nabble.com/%22not-matches%27%27-not-working-when-string-is-null-tp22292620p22292620.html
> Sent from the drools - user mailing list archive at Nabble.com.
>
> _______________________________________________
> rules-users mailing list
> [email protected]
> https://lists.jboss.org/mailman/listinfo/rules-users
>



-- 
 Edson Tirelli
 JBoss Drools Core Development
 JBoss, a division of Red Hat @ www.jboss.com
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to