Start reading Mastering Regular Expressions on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here or start reading now with a free Kindle Reading App.

Deliver to your Kindle or other device


Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Anybody can read Kindle books—even without a Kindle device—with the FREE Kindle app for smartphones, tablets and computers.
Mastering Regular Expressions

Mastering Regular Expressions [Kindle Edition]

Jeffrey E. F. Friedl
3.8 out of 5 stars  See all reviews (6 customer reviews)

Kindle Price: £14.52 includes VAT* & free wireless delivery via Amazon Whispernet
* Unlike print books, digital books are subject to VAT.


Amazon Price New from Used from
Kindle Edition £14.52  
Paperback --  
Kindle Daily Deal
Kindle Daily Deal: At least 60% off
Each day we unveil a new book deal at a specially discounted price--for that day only. Learn more about the Kindle Daily Deal or sign up for the Kindle Daily Deal Newsletter to receive free e-mail notifications about each day's deal.

Special Offers and Product Promotions

  • Purchase any Kindle Book sold by and receive £1 credit to try out our Digital Music Store. Here's how (terms and conditions apply)

Product Description


"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

Product details

  • Format: Kindle Edition
  • File Size: 2544 KB
  • Print Length: 546 pages
  • Simultaneous Device Usage: Unlimited
  • Publisher: O'Reilly Media; 3 edition (5 Mar 2012)
  • Sold by: Amazon Media EU S.à r.l.
  • Language: English
  • ASIN: B007I8S1X0
  • Text-to-Speech: Enabled
  • X-Ray:
  • Average Customer Review: 3.8 out of 5 stars  See all reviews (6 customer reviews)
  • Amazon Bestsellers Rank: #218,948 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

3.8 out of 5 stars
3.8 out of 5 stars
Most Helpful Customer Reviews
4 of 4 people found the following review helpful
By jerome
Format:Kindle Edition
al the examples in tables were cut ou
so one couldn't figure out what the sentence actually meant making all practical examples useless and all information presented in tables equally useless

quickly browsed and immediately requested a refund when i noticed this
Was this review helpful to you?
2 of 2 people found the following review helpful
5.0 out of 5 stars Excellent reference. 9 Sep 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?
2 of 2 people found the following review helpful
2.0 out of 5 stars Poor quality print-on-demand publication 22 Feb 2013
Format:Paperback|Verified Purchase
O'Reilly appears to have abandoned traditional offset printing and is now using a very poor-quality print-on-demand system. The result is that the pages look like fairly bad photocopies which are hard to read.

I'll be avoiding all O'Reilly manuals from now on (unless I can track down one of the older properly printed ones), which is a pity because the content is well-written. The poor print quality does a great disservice to the author.
Comment | 
Was this review helpful to you?
Would you like to see more reviews about this item?
Were these reviews helpful?   Let us know

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
First post:
Prompts for sign-in

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category