Regular expressions are an extremely powerful tool for manipulatingtext and data. They are now standard features in a wide range oflanguages and popular tools, including Perl, Python, Ruby, Java,VB.NET and C# (and any language using the .NET Framework), PHP, andMySQL.
If you don't use regular expressions yet, you will discover inthis book a whole new world of mastery over your data. If youalready use them, you'll appreciate this book's unprecedenteddetail and breadth of coverage. If you think you know all you needto know about regular expressions, this book is a stunningeye-opener.
As this book shows, a command of regular expressions is aninvaluable skill. Regular expressions allow you to code complex andsubtle text processing that you never imagined could be automated.Regular expressions can save you time and aggravation. They can beused to craft elegant solutions to a wide range of problems. Onceyou've mastered regular expressions, they'll become an invaluablepart of your toolkit. You will wonder how you ever got by withoutthem.
Yet despite their wide availability, flexibility, andunparalleled power, regular expressions are frequentlyunderutilized. Yet what is power in the hands of an expert can befraught with peril for the unwary. Mastering RegularExpressions will help you navigate the minefield to becoming anexpert and help you optimize your use of regular expressions.
Mastering Regular Expressions, Third Edition, nowincludes a full chapter devoted to PHP and its powerful andexpressive suite of regular expression functions, in addition toenhanced PHP coverage in the central "core" chapters. Furthermore,this edition has been updated throughout to reflect advances inother languages, including expanded in-depth coverage of Sun'sjava.util.regex package, which has emerged as the standardJava regex implementation.Topics include:
A comparison of features among different versions of manylanguages and 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
Written in the lucid, entertaining tone that makes a complex,dry topic become crystal-clear to programmers, and sprinkled withsolutions to complex real-world problems, Mastering RegularExpressions, Third Edition offers a wealth information that youcan put to immediate use.
Reviews of this new edition and the second edition:"There isn't a better (or more useful) book available on regularexpressions."--Zak Greant, Managing Director, eZ Systems
"A real tour-de-force of a book which not only covers themechanics of regexes in extraordinary detail but also talks aboutefficiency and the use of regexes in Perl, Java, and .NET...If youuse regular expressions as part of your professional work (even ifyou already have a good book on whatever language you'reprogramming in) I would strongly recommend this book to you."--Dr. Chris Brown, Linux Format
"The author does an outstanding job leading the reader fromregex novice to master. The book is extremely easy to read andchock full of useful and relevant examples...Regular expressionsare valuable tools that every developer should have in theirtoolbox. Mastering Regular Expressions is the definitiveguide to the subject, and an outstanding resource that belongs onevery programmer's bookshelf. Ten out of Ten Horseshoes."--Jason Menard, Java Ranch