What version of Drools are u using? <br><br><div class="gmail_quote">On Tue, Mar 10, 2009 at 12:49 PM, Andrea H. <span dir="ltr">&lt;<a href="mailto:Andrea.Hackmann@t-systems.com">Andrea.Hackmann@t-systems.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Dear all,<br>
I have a problem when using the operator &quot;matches&quot; in the Guided Rule<br>
Editor.<br>
I can use the operator from the drop down list, but when saving the rule,<br>
the tabs &quot;BRL Source&quot; and &quot;Generated DRL&quot; show me that the operator has not<br>
been used at all. Instead, the &quot;operator&quot; tag is left out completely in the<br>
BRL source.<br>
If I choose a different operator, e.g. &quot;is equal to&quot;, save, and switch back<br>
to &quot;matches&quot; (and save again), than the BRL source still shows the operator<br>
&quot;==&quot;.<br>
If I however edit the BRL source itself to contain &quot;matches&quot;, the rule works<br>
fine in my application.<br>
Strange enough, if I use &quot;and matches&quot; in a multi-part-condition on one<br>
attribute, there does not seem to be this problem (the BRL says &quot;&amp;amp;&amp;amp;<br>
matches&quot;). It seems to be only a problem if the &quot;matches&quot; operator comes in<br>
the first assertion line for an attribute.<br>
I would be really grateful if anyone had an idea on this behaviour, since I<br>
seem to be quite lost!<br>
Thanks in advance,<br>
Andrea<br>
<font color="#888888">--<br>
View this message in context: <a href="http://www.nabble.com/Using-%22matches%22-in-Guided-Rule-Editor-%28BRL%29-tp22438549p22438549.html" target="_blank">http://www.nabble.com/Using-%22matches%22-in-Guided-Rule-Editor-%28BRL%29-tp22438549p22438549.html</a><br>

Sent from the drools - user mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></blockquote></div><br>