Customer Reviews


5 Reviews
5 star:
 (2)
4 star:
 (1)
3 star:
 (1)
2 star:
 (1)
1 star:    (0)
 
 
 
 
 
Average Customer Review
Share your thoughts with other customers
Create your own review
 
 
Only search this product's reviews

The most helpful favorable review
The most helpful critical review


1 of 1 people found the following review helpful:
5.0 out of 5 stars Every .NET developer should own this book
Regular expressions are one of the most abstract topics for the average developer to master. Nathan does a real good job of producing something that any developer should be able to start and build their own base library of core expressions.
The approach he takes by presenting some introduction to Regular Expressions, then presenting usable code in three languages is...
Published on January 12, 2007 by Chris Love

versus
18 of 18 people found the following review helpful:
3.0 out of 5 stars Too much source code, not enough regular expressions
When I saw the title of this book, I was excited at the prospect of a book filled with detailed regular expression examples. Unfortunately, it didn't pan out that way.

Spread over a whopping 359 pages, the book lists exactly 100 tasks that you can accomplish with a regular expression. As the solution, the author not only gives a regular expression, but also...
Published on October 20, 2005 by Jan Goyvaerts


Most Helpful First | Newest First

18 of 18 people found the following review helpful:
3.0 out of 5 stars Too much source code, not enough regular expressions, October 20, 2005
This review is from: Regular Expression Recipes for Windows Developers: A Problem-Solution Approach (Paperback)
When I saw the title of this book, I was excited at the prospect of a book filled with detailed regular expression examples. Unfortunately, it didn't pan out that way.

Spread over a whopping 359 pages, the book lists exactly 100 tasks that you can accomplish with a regular expression. As the solution, the author not only gives a regular expression, but also a complete source code snippet in C#, VB.NET, JavaScript and VBScript. Not all solutions have snippets in all languages. Some solutions also have a snippet for ASP.NET.

Obviously, the examples have a heavy bias towards Windows and .NET. If you're using open source languages, you may want to look at this book's precursor "Regular Expression Recipies" instead. It's essentially the same book, with almost the same list of recipes, but with examples in Perl, PHP and Python.

Each recipe also has a "how it works" section, essentially transcribing the regular expression in English, similar in approach to RegexBuddy's plain English regex trees, though the book uses a flat description rather than a tree. The descriptions are brief though. While all the source code snippets easily take up two or more pages per recipe, the explanation is often barely half a page long.

The book does suffer from some sloppy editing. The regular expression in the source code snippets isn't always identical to the one in the description. E.g. in recipe 6-21, the JavaScript snippet uses named capture, and the explanation then proceeds to explain a regex without named capture (which isn't supported by JavaScript). Most of these issues are trivial, but it isn't good for a book that's obviously aimed at beginners.

Most of the recipes solve rather basic problems, organized in six chapters. The first, "Words and Text", deals with finding blank lines, repeated words, words at the start or end of a line, etc. The "URLs and Paths" chapter has examples for finding URLs and file paths, and extracting bits from them. The "CSV and tab-delimited files" has a few recipes for converting between the two and extracting fields.

The "Formatting and Validating" chapter shows how to validate numbers, currency, dates, phone numbers, addresses, etc. The "XML and HTML" chapter has recipes for matching and replacing tags and attributes. Finally, the "Source Code" chapter has a bunch of recipes for manipulating software source code and related files. Most of these tasks are odd jobs that .NET programmers may want to do sometimes.

The book would have been a better deal if it had focused on regular expressions, and left out the many lines of source code, not to mention the redundant copies in several languages. Without the source code, a book of the same size could easily contain 300 examples. That would have made it far more useful for programmers who know how to program, but aren't well-versed in regular expressions.

As it is, I can only recommend this book to people who are not only new to regular expressions, but also relatively new to programming. The book does contain many recipes that solve basic problems you're likely to encounter when writing .NET applications or scripts for a web site. If you happen to use C#, VB.NET, JavaScript or VBScript, and are looking for a cookbook approach, you'll certainly find the book useful.

But don't expect to really learn how regular expressions work from this book. If you develop software for a living, you're better of with a good regular expression tutorial such as the one at www.regular-expressions.info or a book like "Mastering Regular Expressions".
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


1 of 1 people found the following review helpful:
5.0 out of 5 stars Every .NET developer should own this book, January 12, 2007
By 
This review is from: Regular Expression Recipes for Windows Developers: A Problem-Solution Approach (Paperback)
Regular expressions are one of the most abstract topics for the average developer to master. Nathan does a real good job of producing something that any developer should be able to start and build their own base library of core expressions.
The approach he takes by presenting some introduction to Regular Expressions, then presenting usable code in three languages is so useful. Regular Expressions are so abstract, but yet so simple the best way to learn them is by example. For me this was the best book on using Regular Expressions in .NET.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


2.0 out of 5 stars Didn't use this one much, January 31, 2010
Amazon Verified Purchase(What's this?)
This review is from: Regular Expression Recipes for Windows Developers: A Problem-Solution Approach (Paperback)
This book went over too many different flavors of regular expressions for my taste. I also think it is more oriented to someone who doesn't know or care about how regular expressions work and just wants a quick answer. So if you already know regex fairly well this book won't introduce anything new to you. You can find most of these in the online regex libraries.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


5.0 out of 5 stars Clear, concise, and very useful, September 9, 2006
This review is from: Regular Expression Recipes for Windows Developers: A Problem-Solution Approach (Paperback)
The Syntax Overview at the beginning of the book is worth the price alone. Nathan outlines the basic parts of regular expressions and gives you a clear idea of what they are without getting pedantic. This overview isn't even included in the main chapters but rather as an introductory supplement perhaps underestimating its usefulness. Do yourself a favor especially if you are new to regular expressions and read this section first.

After introducing you to the basics the book moves right into real-world examples. Again, no fooling around with fancy scenarios that distract from the purpose of the book. You get a paragraph or two to describe the task at hand and inform you of any assumptions made about the target data and then right into the code. Example code is included for ASP.NET validators, C#, Visual Basic.NET, VBScript and JavaScript for EVERY SINGLE TASK. No fighting with language syntax differences which again would distract you from the expressions.

Following the code examples is a step-by-step description of how it works. Nathan again shows restraint in describing how the expression evaluates using little more than a single line for each part of the expression.

This is a very well-written work that makes an excellent addition to any programmer's bookshelf.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


0 of 3 people found the following review helpful:
4.0 out of 5 stars Very cool, December 1, 2007
Amazon Verified Purchase(What's this?)
This review is from: Regular Expression Recipes for Windows Developers: A Problem-Solution Approach (Paperback)
I was searching to a book to give some pratical information about regular expressions. Very cool.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


Most Helpful First | Newest First

This product

Regular Expression Recipes for Windows Developers: A Problem-Solution Approach
$34.99 $30.31
In Stock
Add to cart Add to wishlist