classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: java.util.regex


From: John Leuner
Subject: Re: java.util.regex
Date: Wed, 27 Feb 2002 21:51:41 +0000
User-agent: Mutt/1.3.27i

> It's been a while since I've popped my head in, it's good to see some 
> familiar names.  Congratulations on the latest release!
> 
> With a little gentle prodding by Nic Ferrier, I've implemented the 
> java.util.regex package as a facade of gnu.regexp.  Currently it's only 
> a Java syntax facade -- the underlying engine assumes Perl-style, not 
> JDK 1.4-style, regular expressions.  But for many (most?) cases it's 
> drop-in compatible already, and I've tested it with a number of examples.
> 
> My goal is to implement the JDK 1.4 regular expression syntax in 
> gnu.regexp (gnu.regexp has a concept of predefined RESyntax objects), so 
> additional changes to the java.util.regex classes will be minimal.

Cool!

I used gnu.regexp in a proprietary project recently, it's really cool!
 
> Any thoughts on getting this into classpath, logistics-wise?  I would 
> like to continue to maintain gnu.regexp as a separately releasable 
> project; I see the java.util.regex.* classes as bridge classes to its 
> API from Classpath.  However, I have no problem relicensing gnu.regexp 
> with the exception clause if that would make things easier.

I like the bridge classes approach. That way we provide the 1.4 API while still 
being modular and not forcing the bloat on users. If people want to, they can 
still use gnu.regexp in a restricted environment.

John Leuner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]