Pages: 542 (Paperback) ISBN: 0596528124 Pub: O'Reilly Media, Inc. Pub date: 2006-08-08 Amazon.co.uk Sales Rank: 55055
|
|
![]() ![]()
Editorial 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! Reader Reviews:Get this book and get over your fear (1/1 people found this helpful)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.
A Masterpiece of Fine Details (8/9 people found this helpful)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. Great Book (7/8 people found this helpful)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 Authoritative and readable (1/1 people found this helpful)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 about regular expressions. Personally I gave up about a third of the way through because I had learned everything I needed for my particular purposes. But it's good to know the book is still there for whenever I need to know some obscure detail. The writing style is great (readable like a story but sometimes quirky) and the layout and typography are exemplary. Quality - your coding will never be the same again! (3/3 people found this helpful)If you regularly develop code in Perl, PHP, Javascript, Java or any other language supporting Regular Expressions, this book will be invaluable to you. Regular Expressions might not look too wonderful, they don't look very friendly, but once you learn them, you'll wonder how you *ever* did without them. This book explains regular expressions comprehensively and simply, and covers specific differences between RE implementations in various languages. You really can't go wrong here - buying this book and investing a little time to learn Regular Expressions can double your efficiency as a coder - they save me countless hours in my job as a web developer for a major ISP, I couldn't live without Regular Expressions, and I couldn't live without this book! CategoriesAmazon.co.uk places this book into the following categories:
Books -> Subjects -> Computing & Internet -> General
Books -> Subjects -> Computing & Internet -> Programming -> Languages -> PHP Books -> Subjects -> Computing & Internet -> Programming -> Languages -> Java -> XML Books -> Subjects -> Computing & Internet -> Programming -> Languages & Tools -> Object Oriented -> General AAS Books -> Subjects -> Computing & Internet -> General AAS Books -> Subjects -> Computing & Internet -> Software & Graphics -> General AAS Books -> Subjects -> Computing & Internet -> Web Development -> General AAS Books -> Subjects -> Computing & Internet -> Web Development -> Web Scripting & Programming -> General AAS Books -> Special Features -> Search Inside! Books -> Refinements -> Language (feature_browse-bin) -> English Books -> Refinements -> Age (feature_two_browse-bin) Books -> Refinements -> Format (binding_browse-bin) -> Paperback Books -> Refinements -> Condition (condition-type)
|