java.util.regexp and Apache regexp

Øyvind Harboe oyvind.harboe@zylin.com
Fri Dec 20 08:27:00 GMT 2002


> 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



More information about the Java mailing list