Mastering Regular Expressions and over 2 million other books are available for Amazon Kindle . Learn more
Buy Used
£17.91
+ £2.80 UK delivery
Used: Very Good | Details
Sold by UK Media Source
Condition: Used: Very Good
Comment: Ships SAME or NEXT business day. See our member profile for customer support contact info. We have an easy return policy.
Trade in your item
Get a £10.94
Gift Card.
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 2 images

Mastering Regular Expressions Paperback – 18 Aug 2006


See all 3 formats and editions Hide other formats and editions
Amazon Price New from Used from
Kindle Edition
"Please retry"
Paperback
"Please retry"
£17.91


Trade In this Item for up to £10.94
Trade in Mastering Regular Expressions for an Amazon Gift Card of up to £10.94, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Learn more

Product details

  • Paperback: 544 pages
  • Publisher: O'Reilly Media; 3 edition (18 Aug. 2006)
  • Language: English
  • ISBN-10: 0596528124
  • ISBN-13: 978-0596528126
  • Product Dimensions: 17.8 x 3.3 x 23.3 cm
  • Average Customer Review: 3.8 out of 5 stars  See all reviews (6 customer reviews)
  • Amazon Bestsellers Rank: 269,527 in Books (See Top 100 in Books)

Product Description

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

Book Description

Understand Your Data and Be More Productive

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

Customer Reviews

3.8 out of 5 stars
Share your thoughts with other customers

Most Helpful Customer Reviews

4 of 4 people found the following review helpful By William Watts on 9 Sept. 2013
Format: Paperback Verified Purchase
I am drawn to report on a book I have owned for many years, because it seems to have fewer stars here than it deserves. I think this is because of problems some folks have had with electronic formats. I do see their point, but this is unfair to the editorial content.

So. The following applies to the *paperback* book.

In practice Freidl's book is primarily a programmer's reference. But like the best references (eg the C Programming Language) is formatted as a tutorial.

Introductory chapters establish a need for regexs, giving a brief history and presenting some straightforward use cases.

Thereafter Mr Freidl wades deeper into the waters of obscurity, and we are soon dealing with the minutiae of mode modifiers and greedy versus lazy quantifiers.

Some of this stuff goes rather deeper than I have ever needed to go. For example, opening the book at random to page 245, I read the subheadings 'Pre-check of required character/substring optimization' and 'Length-cognizance optimization'. Not of immediate use to me, but I am glad to know where I can find this if ever (heaven forfend) the performance of my application depends on the construction of regexs.

The last chapters of the book deal with the respective peculiarities and APIs of the regex implementations of Perl, Java, .NET and PHP. This last bit feels a little out of date - an updated edition would, I suppose, highlight JavaScript and other languages that have become important or gained regex implementations since the 2006 edition, eg C++ 11 and even Delphi. Meanwhile Perl's star has faded somewhat since the book was last revised; perhaps it should no longer be the 'default' language of example?

But this is nit-picking. I dare say it is possible to resolve any regex difficulty with a little applied Googling; but to have this book on your shelf is to know that you have an articulate, clear and complete explanation close to hand.
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
2 of 2 people found the following review helpful By M. Button on 15 Sept. 2010
Format: Paperback
Before reading the book I thought I knew regular expressions (ala the xkcd comic); the main reason for purchasing this was to try and learn how to optimise patterns I was making.

Having read the book I can safely say that I knew how to use regex in fairly complex scenarios, but I didn't how it actually worked - this book teaches you how the matches are actually made by the engine and shows you how to exploit this knowledge to get the fastest matches.

Reading through the book you can see a lot of work has gone into its production - there are a lot of thoughtful inter-relating examples; content is well laid out and there are quite a lot of useful diagrams at different points throughout the book.

Even if you think you're a regex hot shot you should still buy this book, you won't regret it!

(if you know regex before reading the book I'd recommend taking the author's advice and reading the book fully - it may feel like he's covering stuff you already know but he includes useful titbits of information along the way)
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again
2 of 2 people found the following review helpful By PETER on 3 July 2013
Format: Paperback Verified Purchase
I bought this book to help build up an understanding of regular expressions (regex), after finding the information on the internet confusing and fragmented. This book does a good job of explaining regex, it's benefits, it's uses and various implentations. I initially needed the book to be able to identify specifc content in emails (dates/product numbers), but now find I use them all the time when working with text for anything but the most basic string operations.

Would recommend this for any programmer who does not already know regular expressions or that needs to get a thorough understanding. As long as you use strings you will be able to draw some benefit.

As for me, I wonder how I ever managed without!
Comment Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback. If this review is inappropriate, please let us know.
Sorry, we failed to record your vote. Please try again


Feedback