Java regular expression packages (was Re: [Linux] Regular expressions)

Arieh Markel Arieh.Markel@central.sun.com
Thu, 12 Oct 2000 08:27:01 -0600 (MDT)


> From: Tim Jones <tim@timjones.com>
> To: linux@flux.org
> Subject: Re: [Linux] Regular expressions
> 
> On Wed, Oct 11, 2000 at 03:18:40PM -0400, Nick Seidenman wrote:
> > On Wed, 11 Oct 2000, Dean Benson wrote:
> > 
> > > I have had several people drop that info to me.  I was curious, though.  
Is
> > > it geared for someone that already has an advanced understanding of perl 
or
> > > would the complete moron (like me) be comfortable with it?
> > 
> > Don't need to be conversant in perl.  It's a good treatise on REs with
> > lots of practical information and examples.
> 
> If you are familiar with the regular expressions that grep/egrep/fgrep/sed/awk
> use, then you already know a good chunk of Perl's REs.  Perl adds quite a bit
> to it.
> 
> And you don't have to know every little detail in order for it to be
> useful.  I know of the top of my head maybe 55-60% of what REs can do
> in Perl, and I get by pretty nice.  I have to look up something once
> in a while, but that's no crime.
> 
> Regular expressions are also useful in Python 
> (see the 're', 'regex', 'regsub' modules), and even Java (if you
> have the com.oroinc.OroMatcher libraries, which are wonderful
> (even though Oro, Inc. the company died years ago).

Actually, they are still available, and maintained.

The developer, Daniel Savarese, contributed those to the Apache Tomcat
project.

	http://jakarta.apache.org/oro/index.html
	
also available from the same website:

	http://jakarta.apache.org/regexp/index.html
	
and, from the GNU projects:

	http://www.cacas.org/~wes/java/
	
	http://www.crocodile.org/~sts/Rex/
	
Arieh	
--
 Arieh Markel		                Sun Microsystems Inc.
 Network Storage                        500 Eldorado Blvd. MS UBRM11-194
 e-mail: arieh.markel@sun.COM           Broomfield, CO 80021
 Let's go Panthers !!!!                 Phone: (303) 272-8547 x78547
 (e-mail me with subject SEND PUBLIC KEY to get public key)