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.
View on AmazonSince the rise of Perl, every computer language suffers from Regular Expression-envy. Well, no more — JDK 1.4 now comes with a full-featured regex implementation. This e-doc starts out with a detailed exposition on regular expressions — what they are, what they are useful for, and how they are implemented within Java. Then, four simple examples are implemented — first in Perl, and then, identically, in Java. This e-doc will show you how to understand regular expressions, match strings and substrings against a pattern, and pull matched components out of strings.
View on Amazon