Mastering Regular Expressions(精通正则表达式) 阅读笔记:前言

2023-06-25,,

General Concept(一般概念)

If you master the general concept of regular expressions, it's a short step to mastering a particular implementation.

如果你掌握了一般性的概念,你也很容易学会某个具体的实现。

一般概念的重要性。概念性的知识是所有实现类工具的根本,是不变的核心。掌握了这个便是一通百通。

How to Read(如何阅读)

Readers familiar with regular expressions might feel that they can immediately begin using this book as a detailed reference, flipping directly to the section on their favorite utility. I would like to discourage that.

WARNING: 熟悉 Regex 的读者,可能将本书视作参考书,直接翻到关于工具使用的章节。这不是推荐的阅读方式。

You'll get the most out of this book by reading the first six chapters as a story.

仔细阅读前六章(不要跳过),你将获得最大的收益。

I have found that certain habits and ways of thinking help in achieving a full understanding, but are best absorbed over pages, not merely memorized from a list.

为了充分理解,应该仔细阅读每页,不要仅死记硬背一个清单。

Organization(组织)

三大部分,十个章节

入门

第一章:概念
第二章:文本处理
第三章:特色功能
细节
第四章:工作细节
第五章:示例
第六章:效率
工具相关
第七章:Perl
第八章:Java
第九章:.NET
第十章:PHP

Exercises(练习)

So as not to dilute their importance, I've sprinkled only a few throughout the entire book.

不要忽视这些练习题的重要性。作者在整本书中零星地穿插的一些练习,请认真对待。如果不能解出这些问题,建议再次阅读相关章节。

Mastering Regular Expressions(精通正则表达式) 阅读笔记前言的相关教程结束。

《Mastering Regular Expressions(精通正则表达式) 阅读笔记:前言.doc》

下载本文的Word格式文档,以方便收藏与打印。