File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Regular Expression in 1.4" Watch "Regular Expression in 1.4" New topic
Author

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
Author
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="http://www.amazon.com/exec/obidos/ASIN/1861005695/ref=ase_electricporkchop" target="_blank" rel="nofollow">Beginning Java 2 SDK 1.4 Edition</a>
arun sahni
Ranch Hand

Joined: Jan 16, 2002
Posts: 91
Ivor
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
author
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:
ORO:
http://jakarta.apache.org/oro/index.html
and Regexp:
http://jakarta.apache.org/regexp/index.html
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: http://www.amazon.com/exec/obidos/ASIN/0137129394/mobileenterpr-20/
Ringful: http://www.ringful.com/
 
 
subject: Regular Expression in 1.4
 
Similar Threads
Want Map without sort
Devaka's PracticeExam3 Q.No 7
Https
Tools required for Exam
Minimise restoring JFrame