CHAPTER 28Regular Expressions and Other Packages

When Java was originally released, it included a set of eight packages, called the core API. Each subsequent release added to the API. Today, the Java API contains a large number of packages. Many of the packages support areas of specialization that are beyond the scope of this book. However, four packages warrant an examination here: java.util.regex, java.lang.reflect, java.rmi, and java.text. They support regular expression processing, reflection, Remote Method Invocation (RMI), and text formatting, respectively.

The regular expression package lets you perform sophisticated pattern matching operations. This chapter provides an in-depth discussion of this package along with extensive examples. ...

Get Java The Complete Reference, 8th Edition, 8th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.