Apache Jakarta Regexp

Apache Jakarta Regexp is a 100% pure Java regular expression package. Expression syntax supports all of Perl5 syntax, with the exception of back reference substitution markers (several people have mentioned this lack, so please feel free to contribute a solution). It also supports a very limited subset of POSIX features. Performance and features are somewhat inferior to ORO, and the new JDK 1.4 (java.util.regex) package, but the package is especially small and features the ability to precompile expressions (without using object serialization) into byte arrays, thus avoiding the need to load the expression compiler.