Working on that right now :) ----- Original Message ----- From: "Hani Suleiman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Erik Beeson" <[EMAIL PROTECTED]> Sent: Thursday, January 23, 2003 12:40 PM Subject: Re: [OS-webwork] Ognl: peek(), up(), and down()
> -1 > > This seems like an ugly hack, I think it's especially important at this stage of > dev to make things as hack-free as possible. Wouldn't it be possible to talk to > the ognl guys and get info from them on how to best support our syntax? > > Quoting Erik Beeson <[EMAIL PROTECTED]>: > > > > Converting .. to [1] is easy enough, but what about "/"? Our converter > > would > > > need to be smart about foo/bar vs 10/5... or would we just not care about > > > mathematic operations? > > > > When did mathematic operations come into the picture? The current EL > > doesn't support mathematic operations, does it? > > > > If this is really all there is to it, the following does the conversion in > > <1.5ms > > > > pattern.matcher(s).replaceAll("[1]").replace('/', '.'); > > > > Where pattern is: > > java.util.regex.Pattern pattern = Pattern.compile("\\.\\."); > > > > Am I missing something? > > > > --Erik > > > > > > > > ------------------------------------------------------- > > This SF.NET email is sponsored by: > > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > > http://www.vasoftware.com > > _______________________________________________ > > Opensymphony-webwork mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > > > > > > > > > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork