> From: Stefan Bodewig [mailto:[EMAIL PROTECTED] > On Fri, 28 Jan 2005, Douglas Kramer <[EMAIL PROTECTED]> wrote: > > I'm new to Ant and have been wanting to understand optional tasks > > better. I'm trying to decide between using ReplaceRegExp > > and PropertyFile (which is more what I want, but has the > > comment bug). I wanted to figure out which to use based > > perhaps on the library for it. > > PropertyFile doesn't need any additional library. In theory > ReplaceRegExp on JDK 1.4 doesn't either, but we highly recommend using > ORO over using JDK's java.util.regexp package.
And I'm curious to know why? I'm sure ORO is a very good Regex implementation, but my experience with java.util.regexp has been nothing but good. I don't claim to make extensive use of regex in general (who can really, it's so broad what you can do), but it handled a REXX regex-based XML parser just fine as far as I could tell, and that's one big regex! So why the recommendation, which implies that java.util.regexp is somehow inferior and/or buggy and/or bad? Or is ORO better in some way I don't know yet? --DD --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]