Given a class called Course which has a 'name' property. Be able to write some type of expression that evaluates the name property NOT for equality, less than, greater than, etc but evaluates the name property against some type of regexp. I'd like to do this within JEXL because there will be other types of evaluations that need to be made on the Course object.
--Norm
Dion Gillard wrote:
With JDK1.4 you can do this already with methods like String.matches(String regexp).
You should be able to call those directly from JEXL.
Does that help?
On Mon, 10 Jan 2005 14:08:07 -0600, Norm Deane <[EMAIL PROTECTED]> wrote:
Can jexl be extended to do regexp evaluation against strings? If not, does anyone know of a JEXL-like expression evaluator that will do this?
Thanks,
Norm
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
