Abstract
In this chapter, I provide some suggestions for using regular expressions in the context of a fully object-oriented language such as Java. This can, and often should, be a different experience than in more procedural languages, because Java offers a different toolset. This chapter covers when to use the java.util.regex package, when not to use it, and when to complement the java.util.regex package with other Java features.
“Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.”
— Scott Adams
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2004 Mehran Habibi
About this chapter
Cite this chapter
Habibi, M. (2004). Object-Oriented Regex. In: Java Regular Expressions: Taming the java.util.regex Engine. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-0709-2_4
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0709-2_4
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-59059-107-9
Online ISBN: 978-1-4302-0709-2
eBook Packages: Springer Book Archive