This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
java.util.regexp and Apache regexp
- From: Øyvind Harboe <oyvind dot harboe at zylin dot com>
- To: <tromey at redhat dot com>
- Cc: <java at gcc dot gnu dot org>
- Date: Fri, 20 Dec 2002 17:22:53 +0100
- Subject: java.util.regexp and Apache regexp
> I don't know. It depends on exactly what Apache license is
> in use (my impression is that they vary from time to time).
> This is definitely worth investigating.
There are incompatibilities in the regexp syntax, so it is not
completely trivial, e.g. "\\z" does not mean the same in Apache
and java.util.regex.
Unless I had some sort of compatibility test suite and good documentation
(we're talking bug-by-bug compatibility), I wouldn't want
to attempt creating a java.util.regex frontend to the Apache regexp
stuff.
Fortunally for me, my project was in an early enough stage that I
could switch to Apache.
Øyvind