This review is from: Regular Expressions Cookbook (Kindle Edition)
Regular Expressions Cookbook by Jan Goywaerts & Steven Levithan
Java, Perl, Python, Ruby, and the PCRE library. Offers cut-and-paste recipes for matching
common formats like IP addresses (both IPv4 and IPv6), email addresses, US Zip codes, UK
postcodes, phone numbers etc. Also explores issues like regular expression performance
Regular expressions are both hugely useful, and tricky to master. The previous "classic"
book on the subject, "Mastering Regular Expressions" covers a different collection of
regexp implementation, including EMACS, for example. The languages covered in that book
used fundamentally different syntax, especially for quoting.
Since then, the programming world has decided to standardise aroudn the PERL syntax, and
all the languages in this book use similar basic syntax. However, they are slightly incompatible
in the corner cases. The authors of this book are developers behind software products which
emulate the various libraries covered in the book.