hi all,<br>This code could not be parsed correctly:<br><br>rule "out"<br> when<br> Msg(!(set not contains "test"))<br> then<br>end<br><br>I tried a few simple situations and found that when using 'not contains' operator in a '!' leading quote triggers this problem. If no '!' prefixing the quote,the program works like a charm...<br>
Is this a bug? I wish that I posted in the right forum(or I would go to submit an issue?)..<br><br>The example above seemed so stupid(you can use a 'contains' operator instead), but this is the simplest toy example.And this problem would be looked more important if you want to write some logic like this:<br>
<br>Msg(!(set not contains "test" || !bool && string == "hello"))<br><br>So...<br><br>Is there anyone who also encountered this problem? I'm using drools 5.3.0 final.<br>Any help would appreciated.<br>
Thanks!<br clear="all"><br>-- <br>Regards.<br>Miles. Wen<br><br>