maybe in the next release something similar to ignorecase could be added as an operator...
 
Joel G. Rivera-Gonzalez
PRT

"The first 90% of a project takes 90% of the time, the last 10% takes the other 90% of the time" - Murphy's Law


----- Original Message ----
From: "rules-users@lists.jboss.org" <rules-users@lists.jboss.org>
To: rules-users@lists.jboss.org
Sent: Monday, January 8, 2007 1:24:17 PM
Subject: Re: [rules-users] is "==" case sensitive

if you can do it with a regex (which I am not sure if you can) then you can use the "matches" operator.

Otherwise you can do it with a predicate:

Something(a:field -> (a.equalsIgnoreCase("some string")) )



On 1/8/07, rules-users@lists.jboss.org <rules-users@lists.jboss.org > wrote:
what i would do to make in not case sensitive (like string1.equalsIgnoreCase(string2))?

 
Joel G. Rivera-Gonzalez
PRT

"The first 90% of a project takes 90% of the time, the last 10% takes the other 90% of the time" - Murphy's Law


----- Original Message ----
From: "rules-users@lists.jboss.org" < rules-users@lists.jboss.org>
To: rules-users@lists.jboss.org
Sent: Monday, January 8, 2007 10:49:08 AM
Subject: Re: [rules-users] is "==" case sensitive

For Strings I presume ? Yes it should be case sensitive.

On 1/8/07, rules-users@lists.jboss.org < rules-users@lists.jboss.org> wrote:
I dont find anything on the documentation...and i think it is important to know...

thanks !


 
Joel G. Rivera-Gonzalez
PRT

"The first 90% of a project takes 90% of the time, the last 10% takes the other 90% of the time" - Murphy's Law


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users