Mastering Regular Expressions

Paperback, 515 pages

English language

Published Aug. 8, 2006 by O'Reilly Media, Inc..

ISBN:
978-0-596-52812-6
Copied ISBN!

View on OpenLibrary

4 stars (3 reviews)

Regular expressions are an extremely powerful tool for manipulating text and data. They are now standard features in a wide range of languages and popular tools, including Perl, Python, Ruby, Java, VB.NET and C# (and any language using the .NET Framework), PHP, and MySQL. If you don't use regular expressions yet, you will discover in this book a whole new world of mastery over your data. If you already use them, you'll appreciate this book's unprecedented detail and breadth of coverage. If you think you know all you need to know about regular expressions, this book is a stunning eye-opener. As this book shows, a command of regular expressions is an invaluable skill. Regular expressions allow you to code complex and subtle text processing that you never imagined could be automated. Regular expressions can save you time and aggravation. They can be used to craft elegant solutions to a wide …

1 edition

Review of 'Mastering Regular Expressions' on 'Goodreads'

4 stars

The book cleared a lot of fog in my understanding of regular expressions. I knew they're based on finite automata theory (from this excellent book, which I highly recommend). I thought DFAs and NFAs are equivalent in power and different regular expression engines just implement their own translations of regexes to those NFA or DFA forms. It turned out, modern regular expressions much, much more powerful than NFAs. This book explains why. As a side effect, it helps to understand how to craft correct and efficient regular expression. Even for the POSIX NFA engine.

I wasn't sure about the interaction of regular expressions with language around them. This includes escaping rules, regex engine types and so on. There's a lot of examples in different languages so you can really feel the difference between regex flavors.

I didn't read the whole book, the second half is about guts of languages …

avatar for HokieGeek

rated it

4 stars
avatar for Stalwart

rated it

5 stars