HomeGroupsTalkExploreZeitgeist
Search Site
This site uses cookies to deliver our services, improve performance, for analytics, and (if not signed in) for advertising. By using LibraryThing you acknowledge that you have read and understand our Terms of Service and Privacy Policy. Your use of the site and services is subject to these policies and terms.
Hide this

Results from Google Books

Click on a thumbnail to go to Google Books.

Loading...

Mastering Regular Expressions

by Jeffrey E. F. Friedl

MembersReviewsPopularityAverage ratingMentions
1,60389,123 (4.24)3
Regular expressions are an extremely powerful tool for manipulating text and data. They are now standard features in a wide range of languages and popular tools, including Perl, Python, Ruby, Java, VB.NET and C# (and any language using the .NET Framework), PHP, and MySQL. If you don't use regular expressions yet, you will discover in this book a whole new world of mastery over your data. If you already use them, you'll appreciate this book's unprecedented detail and breadth of coverage. If you think you know all you need to know about regularexpressions, this book is a stunning eye-opener. As this book shows, a command of regular expressions is an invaluable skill. Regular expressions allow you to code complex and subtle text processing that you never imagined could be automated. Regular expressions can save you time and aggravation. They can be used to craft elegant solutions to a wide range of problems. Once you've mastered regular expressions, they'll become an invaluable part of your toolkit. You will wonder how you ever got by without them. Yet despite their wide availability, flexibility, and unparalleled power, regular expressions are frequently underutilized. Yet what is power in the hands of an expert can be fraught with peril for the unwary. Mastering Regular Expressions will help you navigate the minefield to becoming an expert and help you optimize your use of regular expressions. Mastering Regular Expressions, Third Edition, now includes a full chapter devoted to PHP and its powerful and expressive suite of regular expression functions, in addition to enhanced PHP coverage in the central "core" chapters. Furthermore, this edition has been updated throughout to reflect advances in other languages, including expanded in-depth coverage of Sun's java.util.regex package, which has emerged as the standard Java regex implementation.Topics include: A comparison of features among different versions of many languages and tools How the regular expression engine works Optimization (major savings available here!) Matching just what you want, but not what you don't want Sections and chapters on individual languages Written in the lucid, entertaining tone that makes a complex, dry topic become crystal-clear to programmers, and sprinkled with solutions to complex real-world problems, Mastering Regular Expressions, Third Edition offers a wealth information that you can put to immediateuse. Reviews of this new edition and the second edition: "There isn't a better (or more useful) book available on regular expressions." --Zak Greant, Managing Director, eZ Systems "A real tour-de-force of a book which not only covers the mechanics of regexes in extraordinary detail but also talks about efficiency and the use of regexes in Perl, Java, and .NET...If you use regular expressions as part of your professional work (even if you already have a good book on whatever language you're programming in) I would strongly recommend this book to you." --Dr. Chris Brown, Linux Format "The author does an outstanding job leading the reader from regexnovice to master. The book is extremely easy to read and chock full ofuseful and relevant examples...Regular expressions are valuable toolsthat every developer should have in their toolbox. Mastering RegularExpressions is the definitive guide to the subject, and an outstandingresource that belongs on every programmer's bookshelf. Ten out of TenHorseshoes." --Jason Menard, Java Ranch… (more)
None
Loading...

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

No current Talk conversations about this book.

» See also 3 mentions

English (6)  Russian (1)  Italian (1)  All languages (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! ( )
2 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. ( )
2 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.
Canonical title
Original title
Alternative titles
Original publication date
People/Characters
Important places
Important events
Related movies
Awards and honors
Epigraph
Dedication
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.
Quotations
Last words
(Click to show. Warning: May contain spoilers.)
Disambiguation notice
Publisher's editors
Blurbers
Original language
Canonical DDC/MDS
Canonical LCC

References to this work on external resources.

Wikipedia in English (1)

Regular expressions are an extremely powerful tool for manipulating text and data. They are now standard features in a wide range of languages and popular tools, including Perl, Python, Ruby, Java, VB.NET and C# (and any language using the .NET Framework), PHP, and MySQL. If you don't use regular expressions yet, you will discover in this book a whole new world of mastery over your data. If you already use them, you'll appreciate this book's unprecedented detail and breadth of coverage. If you think you know all you need to know about regularexpressions, this book is a stunning eye-opener. As this book shows, a command of regular expressions is an invaluable skill. Regular expressions allow you to code complex and subtle text processing that you never imagined could be automated. Regular expressions can save you time and aggravation. They can be used to craft elegant solutions to a wide range of problems. Once you've mastered regular expressions, they'll become an invaluable part of your toolkit. You will wonder how you ever got by without them. Yet despite their wide availability, flexibility, and unparalleled power, regular expressions are frequently underutilized. Yet what is power in the hands of an expert can be fraught with peril for the unwary. Mastering Regular Expressions will help you navigate the minefield to becoming an expert and help you optimize your use of regular expressions. Mastering Regular Expressions, Third Edition, now includes a full chapter devoted to PHP and its powerful and expressive suite of regular expression functions, in addition to enhanced PHP coverage in the central "core" chapters. Furthermore, this edition has been updated throughout to reflect advances in other languages, including expanded in-depth coverage of Sun's java.util.regex package, which has emerged as the standard Java regex implementation.Topics include: A comparison of features among different versions of many languages and tools How the regular expression engine works Optimization (major savings available here!) Matching just what you want, but not what you don't want Sections and chapters on individual languages Written in the lucid, entertaining tone that makes a complex, dry topic become crystal-clear to programmers, and sprinkled with solutions to complex real-world problems, Mastering Regular Expressions, Third Edition offers a wealth information that you can put to immediateuse. Reviews of this new edition and the second edition: "There isn't a better (or more useful) book available on regular expressions." --Zak Greant, Managing Director, eZ Systems "A real tour-de-force of a book which not only covers the mechanics of regexes in extraordinary detail but also talks about efficiency and the use of regexes in Perl, Java, and .NET...If you use regular expressions as part of your professional work (even if you already have a good book on whatever language you're programming in) I would strongly recommend this book to you." --Dr. Chris Brown, Linux Format "The author does an outstanding job leading the reader from regexnovice to master. The book is extremely easy to read and chock full ofuseful and relevant examples...Regular expressions are valuable toolsthat every developer should have in their toolbox. Mastering RegularExpressions is the definitive guide to the subject, and an outstandingresource that belongs on every programmer's bookshelf. Ten out of TenHorseshoes." --Jason Menard, Java Ranch

No library descriptions found.

Book description
Haiku summary

Popular covers

Quick Links

Rating

Average: (4.24)
0.5
1 2
1.5
2 4
2.5
3 27
3.5 1
4 94
4.5 10
5 91

Is this you?

Become a LibraryThing Author.

O'Reilly Media

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

» Publisher information page

 

About | Contact | Privacy/Terms | Help/FAQs | Blog | Store | APIs | TinyCat | Legacy Libraries | Early Reviewers | Common Knowledge | 173,668,629 books! | Top bar: Always visible