This item is not eligible for Amazon Prime, but millions of other items are. Join Amazon Prime today. Already a member? Sign in.

10 used & new from £18.95
See All Buying Options

Have one to sell? Sell yours here
 
   
Tell a Friend
Mastering Regular Expressions (Nutshell Handbooks)
 
See larger image
 
Mastering Regular Expressions (Nutshell Handbooks) (Paperback)
by Jeffrey E. F. Friedl (Author)
4.8 out of 5 stars 30 customer reviews (30 customer reviews)

Availability: Available from these sellers.

10 used & new available from £18.95
Other Editions: RRP: Our Price: Other Offers:
Paperback 13 used & new from £3.73
 
   

Customers Who Bought This Item Also Bought

Regular Expression Pocket Reference: Regular Expressions for Perl, Ruby, PHP, Python, C, Java and .NET (Pocket Reference (O'Reilly))

Regular Expression Pocket Reference: Regular Expressions for Perl, Ruby, PHP, Python, C, Java and .NET (Pocket Reference (O'Reilly)) by Tony Stubblebine

4.6 out of 5 stars (5)  £5.99
Programming Perl

Programming Perl by Larry Wall

4.5 out of 5 stars (55)  £23.08
Classic Shell Scripting: Hidden Commands that Unlock the Power of Unix

Classic Shell Scripting: Hidden Commands that Unlock the Power of Unix by Arnold Robbins

4.8 out of 5 stars (4)  £15.99
Learning Perl (Learning)

Learning Perl (Learning) by Randal L. Schwartz

4.4 out of 5 stars (45)  £18.53
JavaScript: The Definitive Guide

JavaScript: The Definitive Guide by David Flanagan

4.3 out of 5 stars (39)  £22.99
Explore similar items : Books (49)

Product details

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...."

See all Product Description


Customers Who Viewed This Item Also Viewed

Regular Expression Pocket Reference: Regular Expressions for Perl, Ruby, PHP, Python, C, Java and .NET (Pocket Reference (O'Reilly))

Regular Expression Pocket Reference: Regular Expressions for Perl, Ruby, PHP, Python, C, Java and .NET (Pocket Reference (O'Reilly)) by Tony Stubblebine

4.6 out of 5 stars (5)  £5.99
Sams Teach Yourself Regular Expressions in 10 Minutes (Sams Teach Yourself...in 10 Minutes)

Sams Teach Yourself Regular Expressions in 10 Minutes (Sams Teach Yourself...in 10 Minutes) by Ben Forta

5.0 out of 5 stars (5) 
Beginning Regular Expressions (Programmer to Programmer)

Beginning Regular Expressions (Programmer to Programmer) by Andrew Watt

£16.24
Regular Expression Recipes for Windows Developers: A Problem-Solution Approach

Regular Expression Recipes for Windows Developers: A Problem-Solution Approach by Nathan A. Good

£18.47
Regular Expression Recipes: A Problem-Solution Approach

Regular Expression Recipes: A Problem-Solution Approach by Nathan A. Good

£14.52
Explore similar items : Books (47)

 
Customer Reviews
30 Reviews
5 star: 83%  (25)
4 star: 13%  (4)
3 star:    (0)
2 star: 3%  (1)
1 star:    (0)
 
 
 
 
 
Average Customer Review
 
 
 
Share your thoughts with other customers:
Write an online review
Most Helpful Customer Reviews

 
8 of 8 people found the following review helpful:
5.0 out of 5 stars A Masterpiece of Fine Details, 7 Jan 2004
By M. W. Ellwood "mwellwood" (Abingdon, GB) - See all my reviews
(REAL NAME)   
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 Comment | Permalink | Was this review helpful to you? YesNo (Report this)



 
8 of 8 people found the following review helpful:
5.0 out of 5 stars Learning Perl? Buy this first!, 7 Feb 1998
By A Customer
I made the mistake of buying a bunch of books on Perl to try to learn Perl programming. I made progress, but it was slow -- and it beat me down. Then I bought THIS book. Perl's implementation of Regular Expressions is a great deal of the functionality of that language. This is true to the extent that trying to read Perl script without knowing Regular Expressions is tedious at best. This is not just another computer book. Jeffrey Friedl has put his heart and soul into this work, and it shows. He even offers free updates (in the truest, most honest sense of the word) from his own web page. This is the best programming book I own.

After reading this book, Perl script reads like USA Today! Save yourself lots of heartache. Buy this book, Mastering Regular Expressions -- read it -- THEN learn Perl!
Jeff Morris

Comment Comment | Permalink | Was this review helpful to you? YesNo (Report this)



 
7 of 7 people found the following review helpful:
5.0 out of 5 stars Great Book, 15 Dec 2003
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. Covers implementation in many languages (java, perl, .net) yet is still quite easy to understand.

The author says the aim of the book is to get you to "think in regular expressions", this is a great approach and I now find myself using regular expressions to do just about everything involving text.

Well recommended if you really want to understand and use regular expressions

Comment Comment | Permalink | Was this review helpful to you? YesNo (Report this)


Write an online review
 
 
Most Recent Customer Reviews

5.0 out of 5 stars 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 19 months ago by Jon Wright

5.0 out of 5 stars 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 Jul 2003 by Graham Phillips

5.0 out of 5 stars Quality - your coding will never be the same again!
If you regularly develop code in Perl, PHP, Javascript, Java or any other language supporting Regular Expressions, this book will be invaluable to you. Read more
Published on 27 Jun 2003 by David Precious

4.0 out of 5 stars 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

5.0 out of 5 stars Escellent coverage of a surprisingly complex topic
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. Read more
Published on 18 April 2002 by nick@maproom.co.uk

5.0 out of 5 stars 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

4.0 out of 5 stars 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

5.0 out of 5 stars 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