Regular expressions are an extremely powerful tool for manipulating text and data. They have spread like wildfire in recent years, now offered as standard features in Perl, Java, VB.NET and C# (and any language using the .NET Framework), PHP, Python, Ruby, Tcl, MySQL, <em>awk</em>, Emacs, and many other popular tools and languages. 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. In spite their wide availability, flexibility, and unparalleled power, regular expressions are frequently underutilized. 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. A command of regular expressions is an invaluable skill. 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. 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. Mastering Regular Expressions, Second Edition has been thoroughly updated to include all the new features of Perl 5.8, as well as several other languages, including Java, VB.NET, C#, Python, JavaScript, Tcl, and Ruby. Written in the lucid, entertaining tone that made a complex, dry topic crystal-clear to thousands of programmers, and sprinkled with solutions to complex real-world problems, Mastering Regular Expressions offers a wealth information that you can put to immediate use. Topics include:
<li type="disc">A comparison of features among different versions of many languages and tools <li type="disc">How the regular expression engine works <li type="disc">Optimization (major savings available here!) <li type="disc">Matching just what you want, but not what you don't want <li type="disc">Sections and chapters on individual languages
这本书讲了不少关于正则表达式引擎的东西,并且花费了很大力气讲解基于回溯的NFA引擎。好像回溯是实现正则引擎的唯一算法。 事实上,有很多更高效的算法,我自己就实现过一个正则引擎,专门针对正则表达式集合的匹配,也就是说,给定很多个正则表达式(比如100万个),对输入...
评分这个本买来很长时间了 感觉太厚 就一直没有看,这点时间突然对正则表达式感兴趣了 就看了 前几张的内容很值得看 尤其是中间几章,我是彻底了解了正则的工作原理 以前工作中出现的一些情况原来想不明白,现在也就觉得应该是这样子了 建议大家静下心来看这本书
评分 评分正则表达式非常强大,在各种语言都有相关的包或库。看完了前五章已经对我大有帮助!翻译也不错,读起来顺畅,内容包括了从入门到精通,后面几章主要是分语言来讲解正则的应用,有Perl、Java、.NET和PHP,可以选自己掌握的语言来看。本人认为是程序员必读的一本工具书。
评分书比我想象中的厚,当初选择看这本书完全是被电子书的大小给骗了,网上流传的epub格式的电子书虽然1M不到,本还打算当做厕所读物看的,结果没想到这本书看了这么久,久到我刷完了《good luck charlie》四季,这本书还在坚挺着摆在我的书桌上。另外在这里提一句,千万别把网上流...
regex界只此一本~,中间原理和优化的2章,非常难懂,需要多读几遍,后边的语言相关选择自己喜爱的读就行了,可惜没有python的。
评分看来我只要弄懂perl就够了。。。
评分讲得很详细很全面,最大的收获就是学到,有时候fail也是一种solution,刚接触regex的话看前三章就好,等用了一段时间过后再看456章学优化吧
评分这本还是图书馆里站了一下午看完了
评分这本还是图书馆里站了一下午看完了
本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度,google,bing,sogou 等
© 2025 book.wenda123.org All Rights Reserved. 图书目录大全 版权所有