I think this may work actually; I don't think there are any native methods, or significant dependancies on other 1.4 features. But I may have overlooked something. You can get the source from any of the JDK 1.4 downloads. Try compiling just the Matcher and
Pattern class, and see what additional classes you need. Locate the source for these as well, and try again. Repeat until you either have a nice finite set of classes you need, or you get tired of the unending list of other things you must import, if that's what happens. (Or until you find something that requires a native method.) You may need to make other modifications, in which case I'd change the package name too so you don't confuse those classes with the "real" ones when they eventually arrive. Good luck; let us know if it works.
[ August 27, 2002: Message edited by: Jim Yingst ]