Introduction to the Java.util.regex Object Model
Java’s new java. util regex package offers an elegant and agile object model with which to meet regular expression needs. It is composed, in its entirety, of three objects: the Pattern object, the Matcher object, and a PatternSyntaxException. This chapter details all of the methods and fields of the Pattern and Matcher classes, and provides examples of their use. In this chapter I also discuss the new regular expression supportive methods retrofitted into the String class.
KeywordsRegular Expression Split Method String Class Preceding Image Boxed Region
Unable to display preview. Download preview PDF.