Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Overview

Take the guesswork out of using regular expressions. With more than 140 practical recipes, this cookbook provides everything you need to solve a wide range of real-world problems. Novices will learn basic skills and tools, and programmers and experienced users will find a wealth of detail. Each recipe provides samples you can use right away.

Subscriber Reviews

Average Rating: 3.5 out of 5 rating Based on 2 Ratings

"Small issues make it difficult for newcomers" - by mko on 31-AUG-2012
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
When you read the book, you can definitelly tell that authors have experience when it comes to different flavors of the regular expressions. When you go over the different aspects of regular expressions you can track the differences between the standards thanks to clear specification what is allowed and what’s not in particular regular expressions convention. This is quite useful in case you work with different languages like Java, Perl, Python, etc. There are always small differences that can make a headache when all you need is a simple expression. Book starts with nice introduction into tools that will provide you with heavy support when it comes to regular expressions. It’s a shame, though, it doesn’t cover comprehensivelly Linux and Mac OS X. Both systems, comparing to Windows, have much more to do with regular expressions – I think. Linux and Mac OS X are the systems where you have an easy, out of the box, access to CLI and variety of languages. In fact, this part looks a little bit like an advertisement for a products developed by the authors. That’s fine in the sense you should not expect authors to advertise products created by the competition. But still, without this part the whole book would be still complete.

I always strive to get an access to simple, comprehensive, and well explained content related to development. That’s why I pretty much like cookbook style books. This one is such an example. I have found few examples that really cought my attention and were a surprise for me – even though I work with regular expression on day to day basis. However, there are two major issues with the book that may be stoppers for novice developers not familiar with the topic:
- lack of examples for download – if they were available, this would be a great benefit for newcomers. At least some basic examples how to use regular expressions in different languages would highly improve the perception of the content.
- typografic convention used throught the book – in more complex cases it is not possible to copy-paste the regular expressions right into editor. This is due to special characters used in the book to make it easier to read expressions. This can be really painful when you want to check particular recipe.

In my opinion, if you are new to regular expressions, take a look at somethig different. Look out for some sort of introduction to regular expressions instead. On the other hand, if you are working with regular expressions on day to day basis, if you mix various languages during development, this book might be quite handy (even though it is Windows oriented). Great benefit of it is that you get covered eight different standars of regular expressions.

Let me say politically correct – I leave the choice for your consideration.

Report as Inappropriate

Table of Contents

 

Extras

The publisher has provided additional content related to this title.


Description
Content

Visit the catalog page for Regular Expressions Cookbook, 2nd Edition

  • Catalog Page

Visit the errata page for Regular Expressions Cookbook, 2nd Edition

  • Errata

Download the supplemental electronic content for Regular Expressions Cookbook, 2nd Edition

  • Supplemental Content