- Paperback: 544 pages
- Publisher: O'Reilly Media; 3 edition (August 18, 2006)
- Language: English
- ISBN-10: 0596528124
- ISBN-13: 978-0596528126
- Product Dimensions: 7 x 1.3 x 9.2 inches
- Shipping Weight: 1.7 pounds (View shipping rates and policies)
- Average Customer Review: 4.4 out of 5 stars See all reviews (102 customer reviews)
- Amazon Best Sellers Rank: #82,177 in Books (See Top 100 in Books)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Mastering Regular Expressions 3rd Edition
Use the Amazon App to scan ISBNs and compare prices.
See the Best Books of the Month
Want to know our Editors' picks for the best books of the month? Browse Best Books of the Month, featuring our favorite new books in more than a dozen categories.
Frequently bought together
Customers who bought this item also bought
"Indispensable for text processing wizards and regex newcomers alike." - Paul Hudson, Linux Format, February 2007 "In addition to the sheer volume of information, one thing that sets this book apart is that the author uses "real-world" rather than contrived examples. A few of the examples were situations that I have yet to come across, but many were either "been there, done that" or things that I had to go out and try." - James Mohr, Linux Magazine, April 2007
About the Author
Jeffrey Friedl was raised in the countryside of Rootstown, Ohio, and had aspirations of being an astronomer until one day he noticed a TRS-80 Model I sitting unused in the corner of the chem lab (bristling with a full 16K of RAM, no less). He eventually began using Unix (and regular expressions) in 1980, and earned degrees in Computer Science from Kent (BS) and the University of New Hampshire (MS). He did kernel development for Omron Corporation in Kyoto, Japan for eight years before moving in 1997 to Silicon Valley to apply his regular-expression know-how to financial news and data for a little-known company called "Yahoo!"
When faced with the daunting task of filling his copious free time, Jeffrey enjoys playing Ultimate Frisbee and basketball with friends at Yahoo!, programming his house, and feeding the squirrels and jays in his back yard. He also enjoys spending time with his wife Fumie, and preparing for the Fall 2002 release of their first "software project" together.
Browse award-winning titles. See more
If you are a seller for this product, would you like to suggest updates through seller support?
Top customer reviews
I took this on work travel when I got it, and read it on the plan. The tips for working your way through interpreting regular expressions are very good, and easier to understand than the expressions themselves.
It is NOT language specific, so you need to deal for yourself, with differences between say, how Python does it, and how Perl does it.
This should probably be in most programmers' libraries.
By not asserting himself as a mathematical authority, Friedl lets his cleverness come through in a practical, 'human-to-human' way. There are a few moments when the more theoretically minded reader might want a little more detail, but the balance Friedl keeps is beyond admirable.
In the entire book there are perhaps only a half-dozen pages that are 'challenging' to the mind, yet by the time the reader has finished the book he or she will be amazed, simply amazed, at the complexity of regular expressions that can be interpretted with ease. Of course, writing expressions takes more practice, but the regex muscles won't even notice the feather-light daily tasks of, say, basic data validation after working out on this text.
The book will start the reader looking for possible regex solutions everywhere, and provides enough detail to take the fear out of using them.
If you want to decipher complex regular expressions and write your own, this is THE book to read. Friedl never glosses over important points and he never makes assumptions that you already understand regular expressions. The fact is, most of us just don't. Although regular expressions is mostly a pretty dry topic, Friedl does a good job lightening things up here and there (enough to prevent the topic from being too dry, but not so much that we forget the serious nature of the subject matter).
The typographic conventions are nothing short of groundbreaking, and I believe there is no other volume out there, on the web, or written that does as good of a job walking you through regular expressions, explaining how all the various parts work together and how to do things in your own practical way.
This book teaches you to THINK in regular expressions. Those once cryptic symbols will become powerful tools for you to manipulate and get the results you need. For me, regular expressions were a bit of stumbling block and a possible security risk (since I couldn't decipher really complex regular expressions). Aside from that, I didn't know the difference between NFA, DFA, and Posix NVA or how to optimize regex for these various engines (or whether optimization is even needed).
I strongly recommend this book for both beginners and veterans of regular expressions. It might not change your life, but it will change the way you read and write regular expressions.
It is highly recommended if you really want to do what the title says. "Master Regular Expressions".
On the other hand, light reading and browsing through "heavy" stuff can just get you started, if mastering is not in your interests.
Most recent customer reviews
But there isn't, so we do.
It's not for the novice, but if you do research on historical data,...Read more