It should work... what error do you see?

   Edson

2010/1/13 Lukas Svoboda <lukasvoboda@googlemail.com>

How can I get drools 5.0.1 compiled if I have regular expression matches part
concat from static text + dynamic string?

See example:
               onBlackList : ArrayList( size > 0 )
              from collect( BlacklistItemDRL( blacklistItemType matches
"MAIL_DOMAIN" && customer.currentContactInformation.partyEmailAddress.email
matches (".*@" + blacklistItemValue + ".*") )
                            from blackList.getItems())


Problem is when I'm trying to do email matches (".*@" + blacklistItemValue +
".*"), which worked in drools 4.0.7 but can't be compiled now in 5.0.1

Is there any way how to use in matches part of reg exp dynamic property
value plus static string?

Thanks,
Lukas
--
View this message in context: http://n3.nabble.com/Drools-5-0-concat-string-in-matches-of-regular-expression-tp119197p119197.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



--
 Edson Tirelli
 JBoss Drools Core Development
 JBoss by Red Hat @ www.jboss.com