> -----Original Message----- > From: Daniel Rall [mailto:[EMAIL PROTECTED]] > > ORO rocks. It offers a much fuller set of regular expressions than > provided by the Jakarta Regex implementation. For our use case > (server/build app), it makes more sense to have the dependency be on > the heavier-weight ORO package than on Regex. Don't get me wrong here > -- Jakarta Regex isn't bad, it's just a minimal implementation (good > for other use cases, I'm sure).
Pay extra care if you use Jakarta Regex on multiplatforms and deal with EOL (ie $) or you will bang your head seriously. Oro does this consistently because it default to the Perl implementation which is '\n'. I had a little fight with this last month when making the testcase work on Unix and Windows platforms for our regex wrappers in Ant (Oro, Regexp, JDK 1.4) JDK 1.4 fails to do so as well. They added the UNIX_LINES option between beta and rc but forgot some code. You will have to wait for the next release (Hopper) to have this fix. http://developer.java.sun.com/developer/bugParade/bugs/4631553.html Daniel forwarded me to an extensive explanation of the line terminator issue which makes perfect sense. http://marc.theaimsgroup.com/?l=jakarta-oro-user&m=101225817721757&w=2 Stephane -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
