[rules-users] String 'like' comparison in mvel

David Sinclair dsinclair at chariotsolutions.com
Fri Dec 12 15:20:54 EST 2008


dude, do u ever look in the manual?

http://downloads.jboss.com/drools/docs/4.0.4.17825.GA/html_single/index.html#d0e3318

Cheese( type matches "(Buffalo)?\S*Mozerella" )

On Fri, Dec 12, 2008 at 3:14 PM, techy <techluver007 at gmail.com> wrote:

>
> is there a way to do  sql 'like' comparison in LHS without using
> eval+custom
> drool function?
> pseudo code:
> when Foo( name like "Mrs")
>
> Thanks
> --
> View this message in context:
> http://www.nabble.com/String-%27like%27-comparison-in-mvel-tp20982921p20982921.html
> Sent from the drools - user mailing list archive at Nabble.com.
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20081212/a479eab4/attachment.html 


More information about the rules-users mailing list