Mastering Regular Expressionsby Jeffrey E.F. Friedl
Regular expressions are an extremely powerful tool for manipulating text and data.They have spread like wildfire in recent years, now offered as standard features inPerl, Java, VB.NET and C# (and any language using the .NET Framework), PHP, Python,Ruby, Tcl, MySQL, awk, Emacs, and many other popular tools and languages. Ifyou don't use regular expressions/b>
Regular expressions are an extremely powerful tool for manipulating text and data.They have spread like wildfire in recent years, now offered as standard features inPerl, Java, VB.NET and C# (and any language using the .NET Framework), PHP, Python,Ruby, Tcl, MySQL, awk, Emacs, and many other popular tools and languages. Ifyou don't use regular expressions yet, you will discover in this book a whole newworld of mastery over your data. If you already use them, you'll appreciate thisbook's unprecedented detail and breadth of coverage. If you think you know all youneed to know about regular expressions, this book is a stunning eye-opener. In spitetheir wide availability, flexibility, and unparalleled power, regular expressions arefrequently underutilized. Regular expressions allow you to code complex and subtletext processing that you never imagined could be automated. Regular expressions cansave you time and aggravation. They can be used to craft elegant solutions to a widerange of problems. A command of regular expressions is an invaluable skill. Yet whatis power in the hands of an expert can be fraught with peril for the unwary.
- A comparison of features among different versions of many languagesand tools
- How the regular expression engine works
- Optimization (major savings available here!)
- Matching just what you want, but not what you don't want
- Sections and chapters on individual languages
Meet 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.
and post it to your social network
Most Helpful Customer Reviews
See all customer reviews >
I am a high school student and I've read a few programming books, but this one is defiantly one of the best I've read. It's good for beginners and just for a reference. I also like how this book give examples in different languages. No complaints with this book!
This is a very good book for anyone who wants to learn Regular Expressions or for someone who wants to know more about them. I've read this book 3 times and still keep it next to the computer to quickly look up something if I need. Great book!
Are you a programmer working on text-related tasks? If you are, then this book is for you. Author Jeffrey Friedl, has done an outstanding job of writing a cool book that will interest anyone who has an opportunity to use regular expressions. Friedl, begin with an introduction to the concept of regular expressions. Then, the author takes a look at text processing with regular expressions. Next, the author provides an overview of features and utilities, plus a bit of history. He also explains the details of how regular expressions work. The author continues by working through regular expressions examples. Then, he discusses efficiency in detail. Next, the author covers Perl regular expressions in detail. He then looks at Sun¿s java.util.regex package. The author continues by looking at .NET¿s language-neutral regular-expression package. Finally, the author looks at PHP¿s preg suite of regex functions. This most excellent book should expand your understanding, even if you consider yourself an accomplished regular-expression expert. Perhaps more importantly, the book concentrates on mastering a particular implementation!