• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regular Expression in 1.4

 
arun sahni
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ivor Horton
Author
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
arun sahni
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic