Regular Expressions Cookbook, 2nd Edition
Detailed Solutions in Eight Programming Languages
By Jan Goyvaerts, Steven Levithan
http://shop.oreilly.com/product/0636920023630.do
It starts with a good analysis of online and offline regexp tools. Most known applications that can be found in the net, but doing a emphasis to his proprietary tool regexbuddy.
As a classical O’reilly cookbook splits knowledge in contextual sections. Question & Answer, without hesitation, several solution sometimes quick and dirty, but afterward a complete background and more elegant explanation of the consequences of using such approach, providing a better (maybe the best) solution.
The focus of this book is to provide several recipes, direct solution and not an introductory lexical compiler learning book. It gives solutions with many constraint for different flavors of regexp engines, such us, .NET, Java, JavaScript, PCRE, Perl, Python, Ruby.
This cookbook provides a basic introductory chapter, then later chapters becomes more explicit for common programmatic expressions (very wide scope), that most coders would need sometime in their projects, for instance, URLs, Comments, Numbers, Dates (arghhh), XML, CSV, among others.