This chapter provided explanations, details, and examples of how to approach regex in Java's objected-oriented environment. I discussed how to access files, covered strategies for optimizing speed by caching file content to memory, explored how and why to store regex patterns externally, and presented strategies for balancing regex code with natural object-oriented programming paradigms. In Chapter 5, you'll use this material, as well as the material presented in the previous chapters, to address real-world regex problems.