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 regular expressions, 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 immediate use.
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 regex novice to master. The book is extremely easy to read and chock full of useful and relevant examples...Regular expressions are valuable tools that every developer should have in their toolbox. Mastering Regular Expressions is the definitive guide to the subject, and an outstanding resource that belongs on every programmer's bookshelf. Ten out of Ten Horseshoes."
--Jason Menard, Java Ranch
先说说看完这本书之后,我对正则表达式的重新认识:正则表达式就是查字典。 当然,并不是说真的就是查字典,只是过程很类似而已。举个例子:当你要查询以R开头的单词的时候,这个问题就可能用不到正则表达式;但是当你要查询第三个字母是R的单词的时候,用正则...
評分这本书讲了不少关于正则表达式引擎的东西,并且花费了很大力气讲解基于回溯的NFA引擎。好像回溯是实现正则引擎的唯一算法。 事实上,有很多更高效的算法,我自己就实现过一个正则引擎,专门针对正则表达式集合的匹配,也就是说,给定很多个正则表达式(比如100万个),对输入...
評分 評分书比我想象中的厚,当初选择看这本书完全是被电子书的大小给骗了,网上流传的epub格式的电子书虽然1M不到,本还打算当做厕所读物看的,结果没想到这本书看了这么久,久到我刷完了《good luck charlie》四季,这本书还在坚挺着摆在我的书桌上。另外在这里提一句,千万别把网上流...
評分虽说看过manual,几个例子,每个人都可以开始写regex了 但是磨刀不误砍柴工,还是把原理搞清楚,以后可以省去你调试的大量时间,最重要的是你可以在那些只知道basic的菜鸟面前显摆NFA,DFA,POSIX NFA,驱动,回溯的道理 里面有一个词汇翻译的特别不好greedy ,有限匹配,贪婪...
就是一張紙……寫成一本書
评分for code refactor #safaribooksonline
评分作爲教材,這書基本勝任瞭它的職能,而且比那個老師講得明白得多。
评分以前不會用正則的日子是怎麼過來的?一晚上通宵讀完,收獲實在是太大瞭。這絕對是最最最立竿見影的學習項目瞭。
评分跳過大段廢話是相當不健康的讀法。
本站所有內容均為互聯網搜索引擎提供的公開搜索信息,本站不存儲任何數據與內容,任何內容與數據均與本站無關,如有需要請聯繫相關搜索引擎包括但不限於百度,google,bing,sogou 等
© 2025 book.quotespace.org All Rights Reserved. 小美書屋 版权所有