• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doesn't java.util.regex come with J2EE 1.4 SDK?

 
Sheldon Plankton
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's a striped down example of what I am doing ...

Doesn't java.util.regex come with J2EE 1.4 SDK?
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24212
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sheldon Plankton:

Doesn't java.util.regex come with J2EE 1.4 SDK?

Yes, but it's a package, not a class. You have accidentally omitted the ".*" at the end of your import to indicate that you want all classes in the given package -- i.e.,
import java.util.regex.*;
 
Sheldon Plankton
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic