The Artima Developer Community
Sponsored Link

Java Buzz Forum
Use 1.4 RegExp

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Nick Lothian

Posts: 397
Nickname: nicklothia
Registered: Jun, 2003

Nick Lothian is Java Developer & Team Leader
Use 1.4 RegExp Posted: Jul 7, 2003 9:36 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Nick Lothian.
Original Post: Use 1.4 RegExp
Feed Title: BadMagicNumber
Feed URL: http://feeds.feedburner.com/Badmagicnumber
Feed Description: Java, Development and Me
Latest Java Buzz Posts
Latest Java Buzz Posts by Nick Lothian
Latest Posts From BadMagicNumber

Advertisement

Mr strayneuron is complaining about things that require JDK 1.4, in particular Amazon's Web Services API which uses RegExp.

If it needs a RegExp, why not use JDK1.4? It's been out for over 18 months is stable, faster that 1.3 and has better features. IMHO it is better to use something in the core API than introduce an external package. I've used ORO fairly extensivly, but I prefer to use 1.4 RegExp when I can, even at work (where I am much more conservative with choosing mature APIs). It really is a pretty good implementation, and compares well with anything else out there.

Part of the reason the code he is complaining about is only one line is because they use 1.4 RegExp. If they had used ORO it takes at least 2 statements, plus an import. On could argue that regular expressions should have been in the language all along, which I would have to agree with.

Read: Use 1.4 RegExp

Topic: Geocode your site in 4 easy steps Previous Topic   Next Topic Topic: MovableType config completed

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use