Kurzbeschreibung
This is the only book to use the Java library to process regular expressions. It is appealing because it has so many examples. Regular expressions books are not so much "studied" as they are "looked through" and mined for good solutions. For example, the right regex expression can replace an entire page of code with two lines. Java/J2SE 1.4 adds a library for handling regular expressions. Regular expressions are text expressions used to find bits of information in larger bits of text, like 'find me all sentences with the word John' in it, or does any file include '5 e's'... The author offers a look at what regular expressions are and how to use the Java library to process regular expressions. There are plenty of examples to show typical and atypical uses of the library, a powerful learning tool.
Synopsis
Java has always been an excellent language for working with objects. But Java's text manipulation mechanisms have always been limited, compared to languages like AWK and Perl. On the flip side, a new regular expressions package in Java 2 Standard Edition (J2SE) brings hope to the Java text mechanisms. This package provides you everything necessary to use regular expressions--all packaged in a simplified object-oriented framework. In addition to working examples and best practices, this book features a detailed API reference with examples supporting nearly every method, and a step-by-step tutorial to create your own regular expressions. With time, you'll discover that regular expressions are extremely powerful in your programming arsenal--and you'll enjoy using them! And once you've mastered these tools, you'll ponder how you ever managed without them?
Über den Autor
Mehran Habibi is an Application Architect for BankOne in Columbus, Ohio, where he resides with his lovely wife, Angela. Mehran has over eight years of IT experience, including positions with UUNET, Executive Jet, IBM, and OCLC. He has also worked as a university lecturer, national and international speaker, independent consultant, and Java certification instructor. Technologies of interest include Web Services, wireless tech, Java, and yes, C#. Mehran’s professional focus is on architecture, XP team integration, technology leadership, and mentoring. He was a member of the honors program at The Ohio State University, graduated with a bachelor’s degree in software engineering, and holds certifications in VC++, SCJP, and the SCJD.