commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ivankovits <ima...@apache.org>
Subject Re: [vfs][all][poll]regular expression library or jdk1.4 as minimum requirement
Date Sat, 19 Jun 2004 06:22:52 GMT
Rami Ojares wrote:

>>Again, you use a common syntax, 
>>    
>>
>What is common syntax?
>  
>
I think, he meant something like ". * ^ $ \" - those and some other 
regexp tokens are _common_ in all regexp languages.


Here i googled some regexp documentations:

Perl: http://www.perldoc.com/perl5.6.1/pod/perlre.html
Java (just for the completeness): 
http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html
awk (from oro itself): 
http://jakarta.apache.org/oro/api/org/apache/oro/text/awk/AwkCompiler.html

Note for Perl: I am not sure, if all this is really supported in oro, 
however, it should be relly easy to check it, just feed ORO with your 
regular expression.
It looks like Perl and Java are very (very) simmilar. So asking ORO to 
return a JDK, and if this fails a PERL Enging chances are good to use 
the same regexp pattern.
For what i have seen in the dokumentation, your pattern should work - 
but only a test will tell the truth.

--
Mario


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message