圖書標籤: 正則錶達式 RegularExpressions Programming O'Reilly 編程 Regex RE 技術
发表于2025-02-22
Mastering Regular Expressions, Second Edition pdf epub mobi txt 電子書 下載 2025
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
講得很詳細很全麵,最大的收獲就是學到,有時候fail也是一種solution,剛接觸regex的話看前三章就好,等用瞭一段時間過後再看456章學優化吧
評分regex界隻此一本~,中間原理和優化的2章,非常難懂,需要多讀幾遍,後邊的語言相關選擇自己喜愛的讀就行瞭,可惜沒有python的。
評分讀過中文版,感覺有些太詳細瞭,應用不到。
評分雖然隻看瞭前麵幾章,但是已經深深體會到regex的博大精深!
評分這本書我讀過
虽说看过manual,几个例子,每个人都可以开始写regex了 但是磨刀不误砍柴工,还是把原理搞清楚,以后可以省去你调试的大量时间,最重要的是你可以在那些只知道basic的菜鸟面前显摆NFA,DFA,POSIX NFA,驱动,回溯的道理 里面有一个词汇翻译的特别不好greedy ,有限匹配,贪婪...
評分书是好书,如之前一人的评论,性价比很高。个人认为,如果你的日常工作经常涉及文本处理,那读本书应该能提升你的工作效率。 再谈翻译,虽然很多人说,本书翻译的质量不错,但实际上,翻译有很多错误,而且一些错误直接影响到文义,如要精读,还是应该辅以英文原文。
評分首先术语翻译不佳,扣掉一星。例如atomic grouping翻译为“固化分组”,就是“原子分组”吗。其他“匹配优先”就是”贪婪“匹配吗,还有一些别的,看的很不顺畅。 其次,原文介绍了正则表达式的应用和使用技巧以及回溯等原理性介绍,但是没有介绍code是如何实现的,因此有些地...
評分正则式,以前看到这本书时就感觉正则式必然是非常高深的技术,但是学习了编译原理-词法分析以及有限自动机后,便觉得正则式不再是高深而抽象。 建议读者本书前花一点时间学习一下广为流传的速成教程: 正则表达式30分钟入门教程,然后再读一读这本书。(尽管这本书的第一章号称...
評分这本书讲了不少关于正则表达式引擎的东西,并且花费了很大力气讲解基于回溯的NFA引擎。好像回溯是实现正则引擎的唯一算法。 事实上,有很多更高效的算法,我自己就实现过一个正则引擎,专门针对正则表达式集合的匹配,也就是说,给定很多个正则表达式(比如100万个),对输入...
Mastering Regular Expressions, Second Edition pdf epub mobi txt 電子書 下載 2025