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

Have one to sell? Sell yours here
or
Get a £7.15 Amazon.co.uk Gift Card
Mastering Regular Expressions (Nutshell Handbooks)
 
 
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 (Nutshell Handbooks) [Paperback]

Jeffrey E. F. Friedl
4.8 out of 5 stars  See all reviews (31 customer reviews)

Available from these sellers.


Formats

Amazon Price New from Used from
Kindle Edition £17.51  
Paperback --  
Trade In this Item for up to £7.15
Get an extra £5 when you trade in books worth £10 or more until June 30, 2012. Trade in Mastering Regular Expressions (Nutshell Handbooks) for an Amazon.co.uk gift card of up to £7.15, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Find more products eligible for trade-in.
There is a newer edition of this item:
Mastering Regular Expressions Mastering Regular Expressions 4.8 out of 5 stars (31)
Currently unavailable


Product details

  • Paperback: 496 pages
  • Publisher: O'Reilly Media; 2 edition (26 July 2002)
  • Language French
  • ISBN-10: 0596002890
  • ISBN-13: 978-0596002893
  • Product Dimensions: 23.5 x 17.8 x 3 cm
  • Average Customer Review: 4.8 out of 5 stars  See all reviews (31 customer reviews)
  • Amazon Bestsellers Rank: 520,213 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Jeffrey E. F. Friedl
Discover books, learn about writers, and more.

Visit Amazon's Jeffrey E. F. Friedl Page

Product Description

Amazon.co.uk Review

Regular expressions--it sounds fairly ordinary in a regular sort of way, so therefore it must be very simple and very straightforward, right? Not quite.

The simple name hides an incredible amount of power when handling textual data with scripting languages such as Perl, Python and awk and more and the programmer that can master regular expressions can master just about anything.

From the off it's necessary to congratulate author Jeffrey Friedl on doing a superb job of asking what can be a very complex subject and breaking it down into digestible chunks that almost anyone can understand.

From the basics of character and pattern matching through to the recognition of complex string patterns and multiple character replacements to "greedy" metacharacters and how to curb their appetite, this is about as comprehensive as it gets.

With a handful of latter chapters devoted to the differences between scripting languages and the way in which they deal with regular expressions and so many examples it'll make your eyes water there's something here for everyone.

So, if you can examine a string like this "(\\.|[^"\\])*" and know what it does and how it does it there's plenty of reference material in here for those odd moments when you need a refresher. If, however, you've no idea what the above means, and you need the ability to handle textual data, buy this book. Now! --This text refers to an out of print or unavailable edition of this title.

Major Keary, Book News, June 2002

"....Jeffrey Friedl, takes the reader through an amazing regex journey, probing every nook and cranny, and turning over every rock...."

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

Suggested Tags from Similar Products

 (What's this?)
Be the first one to add a relevant tag (keyword that's strongly related to this product)
 
(2)
(2)

Your tags: Add your first tag
 


Customer Reviews

Most Helpful Customer Reviews
6 of 6 people found the following review helpful
Format:Paperback
I bought this book so as to answer a couple of simple questions about regular expressions. I then found it surprisingly readable, and read it for pleasure.

Once I had read it, I found that I was able to apply what I had learned in a variety of powerful ways. I had known that regexes are an important part of Perl. But now I find that they are supported by, and remarkably useful in, Javascript.

The subject matter is difficult, largely because different regex engines work in subtly different ways - this is all clearly covered.

Above all, Friedl avoids the irritating patronising style of so many authors of computer books.

Was this review helpful to you?
4 of 4 people found the following review helpful
By David Precious VINE™ VOICE
Format:Paperback
If you regularly develop code in Perl, PHP, Javascript, Java or any other language supporting Regular Expressions, this book will be invaluable to you. Regular Expressions might not look too wonderful, they don't look very friendly, but once you learn them, you'll wonder how you *ever* did without them. This book explains regular expressions comprehensively and simply, and covers specific differences between RE implementations in various languages.

You really can't go wrong here - buying this book and investing a little time to learn Regular Expressions can double your efficiency as a coder - they save me countless hours in my job as a web developer for a major ISP, I couldn't live without Regular Expressions, and I couldn't live without this book!

Comment | 
Was this review helpful to you?
10 of 11 people found the following review helpful
Format:Paperback
I bought, read and thoroughly enjoyed the first edition of this book, and was actually surprised to find the second edition a few years later, since I thought Jeffrey Friedl must have already said all there was to say about the subject, so complete was edition 1. However, I soon found a lot of useful new information in edition 2 (e.g. look-behind), beautifully explained as ever. Both editions are well-written IMO, although I wouldn't call them "easy reads". They are not really for dipping into, but for settling down with, although I can only usually manage a couple of chapters at a time, but I always come back. They are "satisfying reads", and somewhat addictive; I think they appeal to the nit-picker in me. For dipping into, perhaps the "Regular Expression Pocket Reference" (by a different author) will be better - I haven't read it yet. But if you actually want to understand REs (and they occur widely in the UNIX/Linux world that I inhabit :-) ), this book is a must.

As a bonus, it is also a rather good introduction to Perl (5.8 in the 2nd edition), but of course, REs are not confined to Perl, as the author makes clear.

My only criticism is actually of the paper quality of the 2nd edition, which is odd, since the 1st edition's paper was recycled and acid-free, which this is apparently not, but it looks cheap and nasty. I think Jeffrey Friedl deserves better.

Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
One of the best technical books I've ever owned
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... Read more
Published 20 months ago by M. Button
Get this book and get over your fear
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. Read more
Published on 24 Sep 2006 by Jon Wright
Great Book
This is one of the best books I have read in a long time. It goes far behind simply using regExps but into efficiency and alternate strategies. Read more
Published on 14 Dec 2003 by Mr. M. Hopewell
Authoritative and readable
Starts at the beginning with simple examples and detailed explanations. If you stick with it through 500-odd pages I'm sure you will end up knowing everything that's worth knowing... Read more
Published on 17 July 2003 by Graham Phillips
Great for Perl or Java programmers ...
I welcome the second edition of this book; it's five years since the first edition, which was showing its age. Read more
Published on 7 Aug 2002 by Graham Ellis
And you thought regexes were easy....
"Regular Expressions" -- the term sounds fairly bland and unexciting, but it isn't. Using regexes can cut down the number of lines in your code. Read more
Published on 2 Jan 2001
Will help you make sense of a daunting subject
This is a book about Regular Expressions 'for Perl and Other Tools' but really it's a book about Perl. Read more
Published on 7 Jun 2000
A great book for anyone serious about JavaScript
There are unfortunately a great number of variations in regular expression syntax between various platforms. Read more
Published on 16 Mar 2000
Very useful book, odd grammar makes a difficult read.
I found this book a very useful aid to understanding regular expressions. However I do find that the author's lack of attention to detail in the grammar used in the text makes... Read more
Published on 29 Nov 1999 by P. G. Farrow
Wordily book
The author talks so much of unrelated stuff outside regular expresions. However he gives good examples and cases for the use of regex.
Published on 31 Aug 1999
Search Customer Reviews
Only search this product's reviews

Customer Discussions

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

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

Search Customer Discussions
Search all Amazon discussions
   


Listmania!


Look for similar items by category


Look for similar items by subject


Feedback