Mastering Regular Expressions and over one million other books are available for Amazon Kindle. Learn more

Vous voulez voir cette page en français ? Cliquez ici.


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
More Buying Choices
Have one to sell? Sell yours here
Start reading Mastering Regular Expressions on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Mastering Regular Expressions [Paperback]

Jeffrey E.F. Friedl
4.4 out of 5 stars  See all reviews (83 customer reviews)
List Price: CDN$ 58.99
Price: CDN$ 29.78 & this item ships for FREE with Super Saver Shipping. Details
You Save: CDN$ 29.21 (50%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 6 left in stock (more on the way).
Ships from and sold by Amazon.ca. Gift-wrap available.
Want it delivered Tuesday, May 28? Choose One-Day Shipping at checkout.

Formats

Amazon Price New from Used from
Kindle Edition CDN $19.79  
Paperback CDN $29.78  

Book Description

Aug 15 2006 0596528124 978-0596528126 Third Edition

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 range of problems. Once you've mastered regular expressions, they'll become an invaluable part of your toolkit. You will wonder how you ever got by without them.

Yet despite their wide availability, flexibility, and unparalleled power, regular expressions are frequently underutilized. Yet what is power in the hands of an expert can be fraught with peril for the unwary. Mastering Regular Expressions will help you navigate the minefield to becoming an expert and help you optimize your use of regular expressions.

Mastering Regular Expressions, Third Edition, now includes a full chapter devoted to PHP and its powerful and expressive suite of regular expression functions, in addition to enhanced PHP coverage in the central "core" chapters. Furthermore, this edition has been updated throughout to reflect advances in other languages, including expanded in-depth coverage of Sun's java.util.regex package, which has emerged as the standard Java regex implementation.Topics include:

  • A comparison of features among different versions of many languages 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 with solutions to complex real-world problems, Mastering Regular Expressions, Third Edition offers a wealth information that you can put to immediate use.

Reviews of this new edition and the second edition:

"There isn't a better (or more useful) book available on regular expressions."

--Zak Greant, Managing Director, eZ Systems

"A real tour-de-force of a book which not only covers the mechanics of regexes in extraordinary detail but also talks about efficiency and the use of regexes in Perl, Java, and .NET...If you use regular expressions as part of your professional work (even if you already have a good book on whatever language you're programming in) I would strongly recommend this book to you."

--Dr. Chris Brown, Linux Format

"The author does an outstanding job leading the reader from regex novice to master. The book is extremely easy to read and chock full of useful and relevant examples...Regular expressions are valuable tools that every developer should have in their toolbox. Mastering Regular Expressions is the definitive guide to the subject, and an outstanding resource that belongs on every programmer's bookshelf. Ten out of Ten Horseshoes."

--Jason Menard, Java Ranch


Frequently Bought Together

Mastering Regular Expressions + Programming Perl: Unmatched power for text processing and scripting + Learning Perl
Price For All Three: CDN$ 92.41

Show availability and shipping details

  • In Stock.
    Ships from and sold by Amazon.ca.
    This item ships for FREE with Super Saver Shipping. Details

  • Programming Perl: Unmatched power for text processing and scripting CDN$ 36.33

    In Stock.
    Ships from and sold by Amazon.ca.
    This item ships for FREE with Super Saver Shipping. Details

  • Learning Perl CDN$ 26.30

    In Stock.
    Ships from and sold by Amazon.ca.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought


Product Details


Product Description

From Amazon

Regular expressions are a central element of UNIX utilities like egrep and programming languages such as Perl. But whether you're a UNIX user or not, you can benefit from a better understanding of regular expressions since they work with applications ranging from validating data-entry fields to manipulating information in multimegabyte text files. Mastering Regular Expressions quickly covers the basics of regular-expression syntax, then delves into the mechanics of expression-processing, common pitfalls, performance issues, and implementation-specific differences. Written in an engaging style and sprinkled with solutions to complex real-world problems, Mastering Regular Expressions offers a wealth information that you can put to immediate use. --This text refers to an out of print or unavailable edition of this title.

Review

"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

Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

Most helpful customer reviews
2 of 2 people found the following review helpful
5.0 out of 5 stars The Bible of RegEx April 29 2004
Format:Paperback
One of the hardest things, even for a seasoned programmer to grasp is regular expressions. They are powerful ways to search, manipulate and parse text fields and can often take several lines of code and shrink it down to a mystic, but powerful, expression.

If you have ever had to parse a file for information, you know that one of the things that still haunts any programmer nowadays is how to match text. In this day and age of Object Oriented Programming, Web Services, etc. the power of Regex holds firm.

Throughout this book the author takes great care not to overwhelm the reader with tons of code that has no meaning. The power of the book comes from the fact that if you read, and follow along, through the examples you will gain an understanding of how to do the techniques the author is referring to. At times it may seem like you have to read over a section twice, but you will realize that as you carry forth into the next section the material you read previously has turned into something you can now apply -- not just another example you can cut and paste and never really learn technique behind.

This is a powerful book, covering many, many pages. Noone should expect to sit down and read it cover to cover and be done with it. The benefit comes from reading, applying, and referencing. I find myself using it several times a week to lookup information on Regular Expressions and to held solidify knowledge of techniques that I have used in the past.

Whether you are a Windows, Unix, or even Macintosh person -- RegEx holds the key to text manipulation -- and this book holds the map you need to find that key.

Was this review helpful to you?
2 of 2 people found the following review helpful
5.0 out of 5 stars Get this book and get over your fear April 14 2004
Format:Paperback
Regular expressions always terrified me. I really got tired of looking for related examples on the 'net and hacking sample code so I decided I had to take the plunge.

I can say that the first chapter of this book is one of the most important chapters of any book I ever read. It leaves you breathless. Actually you'll probably want to read it again as the first time round you were so glued to the pages you didn't have time to try out the examples yourself.

In a book such as this layout and typographical conventions are of utmost importance and this book gets this spot on. An author who can cover this subject without simply using masses of examples and dry outlines of selected syntax arrangements deserves an acolade. This book goes further. It stimulates the juices and is a struggle to put down (to the detriment of your hands-on practice as mentioned above).

I was quite wary of exploring the territory of regular expressions and used to be very ambivalent towards Perl but this book helped to ease me in to a whole new world of script programming.

This book is not just for Perl geeks. PCREs (Perl Compatible Regular Expressions) are creeping into other programming and scripting languages now and this book will serve you no matter where you're coming from.

Get this book and get over your fear!

Was this review helpful to you?
2 of 2 people found the following review helpful
1.0 out of 5 stars Never has so much been made of so little Mar 23 2000
Format:Paperback
If you're looking for a handy desktop reference this book is NOT it. When faced with a short-fused development schedule and needing to get up to speed with regexps rather quickly I found the book to be difficult to navigate, inconcise, and the overuse of bold, italics, and foreign (Japanese?) characters and other oddities very annoying. I thought the book went way beyond regular expressions and therefore found it of little use as a reference guide. It is better suited as a tutorial for someone that has a lot of time on his/her hands. A much better reference, also from O'Reilly, can be found in "JavaScript - The Definitive Reference", by Danny Goodman.
Was this review helpful to you?
Want to see more reviews on this item?
Most recent customer reviews
5.0 out of 5 stars It's "The Book"
I'll keep the review short, if your looking to learn regular expressions in any form, this is the book you want to pick-up. Read more
Published on Mar 11 2010 by Brianne Salmon
5.0 out of 5 stars Essential for the reference library!
This book is a must have for your programming library! It has helped when I needed a regex solution for a complicated query!
Published on Oct 1 2008 by Joel Andrews
5.0 out of 5 stars Another excellent O'Reilly book
This is a great guide to regular expressions in Perl. It's so nice to see a 'proper' book once in a while, instead of superficial dumbed-down crap.
Published on Mar 21 2004
5.0 out of 5 stars Amazing book
I had just started learning perl and I knew I needed to learn how to use regular expressions. I breezed through learning perl and this book was next. Read more
Published on Jan 25 2004 by Christopher Flynn
5.0 out of 5 stars Invaluable Regex Insights
I used, but never truly understood, regular expressions until I read this book. If you use regular expressions in a production setting you need to understand them at a deep level... Read more
Published on Dec 13 2003 by Jack D. Herrington
5.0 out of 5 stars Excellent Learning Tool
I have struggled with regular expressions for a couple of years now. Like most people, I knew 'something about them', and could cobble together a simple regex. Read more
Published on Nov 20 2003 by David C. Veeneman
5.0 out of 5 stars Useful book
This book offered much additional information (e.g. history) about regular expressions, and will certainly be used further for reference purposes. Read more
Published on Nov 3 2003 by Knud van Eeden
4.0 out of 5 stars Need to get to speed quickly? This is a good start...
While the various websites give a lot of good information on regular expressions, they don't show enough about building them from scratch. Read more
Published on July 12 2003 by A Man from Seattle
5.0 out of 5 stars Great book to learn about Regular Expressions.
If you want to learn the ins and outs of how a regular expression really works, this book does a great job explaining all the syntax, intricacies, optimization, greedy match, and... Read more
Published on July 2 2003 by Blue Monkey
2.0 out of 5 stars Don't call me a reference book
I found other books much more helpful on solving a sticky regular expression problem. The author himself sums up his attitude towards users who want to find the solution fast... Read more
Published on Jun 2 2003 by John
Search Customer Reviews
Only search this product's reviews

Listmania!

Create a Listmania! list

Look for similar items by category


Feedback


Amazon.ca Privacy Statement Amazon.ca Shipping Information Amazon.ca Returns & Exchanges