<br> It should work... what error do you see?<br><br> Edson<br><br><div class="gmail_quote">2010/1/13 Lukas Svoboda <span dir="ltr"><<a href="mailto:lukasvoboda@googlemail.com">lukasvoboda@googlemail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
How can I get drools 5.0.1 compiled if I have regular expression matches part<br>
concat from static text + dynamic string?<br>
<br>
See example:<br>
onBlackList : ArrayList( size > 0 )<br>
from collect( BlacklistItemDRL( blacklistItemType matches<br>
"MAIL_DOMAIN" && customer.currentContactInformation.partyEmailAddress.email<br>
matches (".*@" + blacklistItemValue + ".*") )<br>
from blackList.getItems())<br>
<br>
<br>
Problem is when I'm trying to do email matches (".*@" + blacklistItemValue +<br>
".*"), which worked in drools 4.0.7 but can't be compiled now in 5.0.1<br>
<br>
Is there any way how to use in matches part of reg exp dynamic property<br>
value plus static string?<br>
<br>
Thanks,<br>
Lukas<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n3.nabble.com/Drools-5-0-concat-string-in-matches-of-regular-expression-tp119197p119197.html" target="_blank">http://n3.nabble.com/Drools-5-0-concat-string-in-matches-of-regular-expression-tp119197p119197.html</a><br>
Sent from the Drools - User mailing list archive at Nabble.com.<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><br clear="all"><br>-- <br> Edson Tirelli<br> JBoss Drools Core Development<br> JBoss by Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>