You could look at using your own custom operator.
We have a requirement to display data as stored (with the right casing) but
for evaluation purposes strings should be compared case in-sensitive. We
have several hundred rules touching these particular strings and would
really like to avoid doing eval( x != null && x.equalsIngoreCase(y) )
everywhere. Is there anywhere in drools that we could configure to make
string matching case in-sensitive?
Since we have to display the data with casing elsewhere, putting
x.toLowerCase() in all our getter methods doesn't seem to be an option.
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/case-in-sensitive-string-comparison-tp1842677p1842677.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