commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Inger, Matthew" <>
Subject RE: [vfs][all][poll]regular expression library or jdk1.4 as minim um requirement
Date Wed, 16 Jun 2004 14:24:17 GMT
True, there are different dialects.  However, there's no reason
you couldn't enforce a standard Perl5 dialect, and convert regular
expression and subsitution strings to the equivalent for a particular
package (on the fly)

-----Original Message-----
From: Rami Ojares []
Sent: Tuesday, June 15, 2004 5:09 PM
Subject: Re: [vfs][all][poll]regular expression library or jdk1.4 as
minimum requirement


The problem with having a generic interface for different regex
is that the syntax and semantics of regexes are different. I want to know
EXACTLY what my regexes match and what constucts/syntax I can use.

The implementations are not only implementations but they define also the
and meaning of the regexes that they use.

Even though most of the constructs are the same there are differences. Many
packages let themselves be configured to understand different dialects which
proves my point.

Let's call the set of allowed regexes as regex language.

The best candidate in my humble opinion for regex language is the one
defined in
jdk 1.4. What would be needed is a separate package that would implement jdk
regex lang and could be used together with older jdk's.

Could ORO do this?

Therefore one can never avoid dependency to the regex language he uses.

[X] Dont bother and use jdk1.4 as minimum requirement OR write separate
that works exactly like jdk 1.4 on earlier jdk's

- Rami Ojares

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message