- 出版社: O'Reilly Media, Inc, USA; 3rd Revised edition (2006年8月18日)
- 平装: 544页
- 语种： 英语
- ISBN: 0596528124
- 条形码: 9780596528126, 0636920528128
- 商品尺寸: 17.8 x 3.3 x 23.3 cm
- 商品重量: 862 g
- ASIN: 0596528124
- 用户评分: 4 条商品评论
- 亚马逊热销商品排名: 图书商品里排第482,653名 (查看图书商品销售排行榜)
Mastering Regular Expressions (英语) 平装 – 2006年8月18日
"Indispensable for text processing wizards and regex newcomers alike." - Paul Hudson, Linux Format, February 2007 "In addition to the sheer volume of information, one thing that sets this book apart is that the author uses "real-world" rather than contrived examples. A few of the examples were situations that I have yet to come across, but many were either "been there, done that" or things that I had to go out and try." - James Mohr, Linux Magazine, April 2007
Jeffrey Friedl was raised in the countryside of Rootstown, Ohio, and had aspirations of being an astronomer until one day he noticed a TRS-80 Model I sitting unused in the corner of the chem lab (bristling with a full 16K of RAM, no less). He eventually began using Unix (and regular expressions) in 1980, and earned degrees in Computer Science from Kent (BS) and the University of New Hampshire (MS). He did kernel development for Omron Corporation in Kyoto, Japan for eight years before moving in 1997 to Silicon Valley to apply his regular-expression know-how to financial news and data for a little-known company called "Yahoo!" When faced with the daunting task of filling his copious free time, Jeffrey enjoys playing Ultimate Frisbee and basketball with friends at Yahoo!, programming his house, and feeding the squirrels and jays in his back yard. He also enjoys spending time with his wife Fumie, and preparing for the Fall 2002 release of their first "software project" together.
此商品在美国亚马逊上最有用的商品评论 (beta) (可能包括"Early Reviewer Rewards Program"的评论)
I took this on work travel when I got it, and read it on the plan. The tips for working your way through interpreting regular expressions are very good, and easier to understand than the expressions themselves.
It is NOT language specific, so you need to deal for yourself, with differences between say, how Python does it, and how Perl does it.
This should probably be in most programmers' libraries.
By not asserting himself as a mathematical authority, Friedl lets his cleverness come through in a practical, 'human-to-human' way. There are a few moments when the more theoretically minded reader might want a little more detail, but the balance Friedl keeps is beyond admirable.
In the entire book there are perhaps only a half-dozen pages that are 'challenging' to the mind, yet by the time the reader has finished the book he or she will be amazed, simply amazed, at the complexity of regular expressions that can be interpretted with ease. Of course, writing expressions takes more practice, but the regex muscles won't even notice the feather-light daily tasks of, say, basic data validation after working out on this text.
The book will start the reader looking for possible regex solutions everywhere, and provides enough detail to take the fear out of using them.
The book is easy to understand and you can apply it immediately.
This book saved me so much time and got my research going!
If you want to decipher complex regular expressions and write your own, this is THE book to read. Friedl never glosses over important points and he never makes assumptions that you already understand regular expressions. The fact is, most of us just don't. Although regular expressions is mostly a pretty dry topic, Friedl does a good job lightening things up here and there (enough to prevent the topic from being too dry, but not so much that we forget the serious nature of the subject matter).
The typographic conventions are nothing short of groundbreaking, and I believe there is no other volume out there, on the web, or written that does as good of a job walking you through regular expressions, explaining how all the various parts work together and how to do things in your own practical way.
This book teaches you to THINK in regular expressions. Those once cryptic symbols will become powerful tools for you to manipulate and get the results you need. For me, regular expressions were a bit of stumbling block and a possible security risk (since I couldn't decipher really complex regular expressions). Aside from that, I didn't know the difference between NFA, DFA, and Posix NVA or how to optimize regex for these various engines (or whether optimization is even needed).
I strongly recommend this book for both beginners and veterans of regular expressions. It might not change your life, but it will change the way you read and write regular expressions.
- 图书 > 进口原版 > Computers & Technology（计算机与科技） > Databases（数据库） > SQL
- 图书 > 进口原版 > Computers & Technology（计算机与科技） > Programming（编程） > Languages & Tools > C & C++ > C
- 图书 > 进口原版 > Computers & Technology（计算机与科技） > Programming（编程） > Languages & Tools > C & C++ > C++
- 图书 > 进口原版 > Computers & Technology（计算机与科技） > Programming（编程） > Languages & Tools > C & C++ > Objects
- 图书 > 进口原版 > Computers & Technology（计算机与科技） > Programming（编程） > Languages & Tools > C#
- 图书 > 进口原版 > Computers & Technology（计算机与科技） > Programming（编程） > Languages & Tools > Fortran
- 图书 > 进口原版 > Computers & Technology（计算机与科技） > Programming（编程） > Languages & Tools > Java
- 图书 > 进口原版 > Computers & Technology（计算机与科技） > Programming（编程） > Languages & Tools > Lisp
- 图书 > 进口原版 > Computers & Technology（计算机与科技） > Programming（编程） > Languages & Tools > RPG
- 图书 > 进口原版 > Computers & Technology（计算机与科技） > Programming（编程） > Languages & Tools > XML
- 图书 > 进口原版 > Computers & Technology（计算机与科技） > Programming（编程） > Software Design, Testing & Engineering > Object-Oriented Design
- 图书 > 进口原版 > Computers & Technology（计算机与科技） > Programming（编程） > Software Design, Testing & Engineering > Software Development
- 图书 > 进口原版 > Reference（参考书）