Log in

No account? Create an account
The Titfield Thunderbolt Hue and Cry Whisky Galore The Man in The White Suit Previous Previous Next Next
Book Review: Mastering Regular Expressions (3rd edition), by Jeffrey… - The Titfield Thunderbolt
Heisenberg might have stayed here
Book Review: Mastering Regular Expressions (3rd edition), by Jeffrey E F Friedl
This is a thorough treatment of a subject that can be quite dry, but Friedl makes it readable. I bought this second-hand, as I don't often need to know this stuff, but would prefer to have a decent background understanding. As well as the core syntax of regular expressions, Friedl discusses the two main algorithms of regular expression engines, and explains why you need to know (which is not initially obvious), and discusses various techniques for optimising regular expressions. Most of the example code is written in Perl, which is clearly Friedl's favourite, but not mine, though there are also chapters dedicated to the use of regular expressions in Java, .NET and PHP.


1 comment or Leave a comment
rosamicula From: rosamicula Date: February 26th, 2012 09:50 pm (UTC) (Link)
'Regular expressions' sounds like a phrase an American drug company would use to flog laxatives. Are YOUR expressions regular?
1 comment or Leave a comment