Hide this

Results from Google Books

Click on a thumbnail to go to Google Books.

Mastering Regular Expressions by Jeffrey…

Mastering Regular Expressions (edition 1997)

by Jeffrey E.F. Friedl

MembersReviewsPopularityAverage ratingMentions
1,44585,190 (4.25)1
Title:Mastering Regular Expressions
Authors:Jeffrey E.F. Friedl
Info:O'Reilly Media (1997), Edition: 1st ed, Paperback, 342 pages
Collections:My Library
Tags:unix, non-fiction, regular expressions, atWork, computer

Work details

Mastering Regular Expressions by Jeffrey E. F. Friedl

Recently added byjengis_jon, private library, cctesttc1, chrisgonzalez, anewc2, syzara, cawilliams, gponym
Legacy LibrariesTim Spalding



Sign up for LibraryThing to find out whether you'll like this book.

No current Talk conversations about this book.

» See also 1 mention

English (6)  Russian (1)  Italian (1)  All (8)
Showing 1-5 of 6 (next | show all)
Regular expressions, unless you’re a mathematician or a computer scientist, are fairly irregular things. What started as ways to write patterns to match strings of characters has grown out of control, especially with regexes (as they’re called) being a fundamental part of the Perl programming language.

Friedl presents here the most comprehensive covering of regexes that can possibly be put in bound book form. The first six chapters will give you everything you need to learn and hopefully understand regexes, while the latter chapters give you insight into language/framework-specific implementations of them (including Perl, Java, PHP and .NET).

Having dealt with regexes a lot in the past, this book did not wow or amaze me. It did, however, provide some useful tips for future regex writing. If you’re a regex newb, it would be greatly useful, especially if you’re planning on writing a lot of regexes. If you’re a seasoned veteran, it may be beneficial to skim this book, but by no means skip it, unless your name happens to be Jeffrey Friedl.

My only complaint with this book is that most of the .NET examples are in the abomination of a “programming language” called Visual Basic. Why such a language even still exists in beyond me. However, since VB is part of .NET, most of the examples can be trivially translated into more meaningful languages, such as C#.

I would highly recommend this book for anybody who dedicates any reasonable amount of time towards constructing regular expressions, as well as to anybody who spends an inordinate amount of time writing methods/functions/subroutines to handle complex (that is, more than “this string equals this string”) string matching. Regular expressions will save you countless hours, since somebody’s done all that heavy lifting for you already! ( )
1 vote aethercowboy | Nov 12, 2010 |
Good book, and thorough. ( )
  dbday | Oct 11, 2009 |
THE reference for regular expressions! ( )
  lucas7dingen | Mar 30, 2009 |
An in-depth look at how regular expressions work and how to create regular expressions for some popular languages. ( )
1 vote sutch | Nov 8, 2008 |
Essential, although mind-bending.
1 vote wfzimmerman | May 30, 2007 |
Showing 1-5 of 6 (next | show all)
"The author is clearly passionate about regexes, and wants you to squeeze the most out of every regex you write"; the third edition is "[i]ndispensable for text processing wizards and regex newcomers alike. 9/10"
added by legallypuzzled | editLinux Format, Paul Hudson (Feb 1, 2007)
You must log in to edit Common Knowledge data.
For more help see the Common Knowledge help page.
Series (with order)
Canonical title
Original title
Alternative titles
Original publication date
Important places
Important events
Related movies
Awards and honors
FOR 文枝 Fumie
For putting up with me.
And for the years I worked on this book,
for putting up without me.
First words
Here's the scenario: your boss in the documentation department wants a tool to check for doubled words (such as "this this"), a common problem with documents subject to heavy editing.
Last words
(Click to show. Warning: May contain spoilers.)
Disambiguation notice
Publisher's editors
Publisher series
Original language

References to this work on external resources.

Wikipedia in English (1)

Book description
Haiku summary

Amazon.com Amazon.com Review (ISBN 0596528124, Paperback)

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.

(retrieved from Amazon Thu, 12 Mar 2015 18:02:40 -0400)

(see all 2 descriptions)

Introduces regular expressions and how they are used, discussing topics including metacharacters, nomenclature, matching and modifying text, expression processing, benchmarking, optimizations, and loops.

(summary from another edition)

Quick Links

Swap Ebooks Audio
1 avail.
68 wanted
2 pay

Popular covers


Average: (4.25)
1 2
2 3
3 26
3.5 2
4 91
4.5 10
5 89

O'Reilly Media

An edition of this book was published by O'Reilly Media.

» Publisher information page

Is this you?

Become a LibraryThing Author.


You are using the new servers! | About | Privacy/Terms | Help/FAQs | Blog | Store | APIs | TinyCat | Legacy Libraries | Early Reviewers | Common Knowledge | 116,091,034 books! | Top bar: Always visible