File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Regular Expression in 1.4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Regular Expression in 1.4" Watch "Regular Expression in 1.4" New topic

Regular Expression in 1.4

arun sahni
Ranch Hand

Joined: Jan 16, 2002
Posts: 91
I want to use RE in my application for text processing. I am wondering what is a best soln:
1. Upgrade to jdk 1.4.
2.use RegExp open source package for parsing.
Please suggest.

Arun Sahni<br />SCJP2,SWCD,<br />BEA Certified Specialist: Server <br />JCert Enterprise Developer for BEA.
Ivor Horton
Ranch Hand

Joined: Mar 22, 2002
Posts: 67
Since regular expressions are now an integral part of 1.4. I would suggest you install that. You also get the benefit of all the other improvements that come with 1.4 - as well as quite a few bug fixes.

Ivor Horton<br />Author of the Beginning Java Series including the new <a href="" target="_blank" rel="nofollow">Beginning Java 2 SDK 1.4 Edition</a>
arun sahni
Ranch Hand

Joined: Jan 16, 2002
Posts: 91
Thanks for response. I am using some applications which requires JDK1.3. I am not sure how can we handle 2 JRE's in one system each for different application.
Any suggestion on it.
Michael Yuan
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
If your application *requires* JDk 1.3.1 (why?), you could consider two Jakarta regular expression packages:
and Regexp:
The usages of them are similar to the JDK 1.4 standard package. However, if you really want to a lot with regular expression, I still recommand JDK 1.4 simply because it provide tighter integrations with a number of String functions etc.

Seam Framework:
I agree. Here's the link:
subject: Regular Expression in 1.4
It's not a secret anymore!