有 linux 系统的不妨 man pcre 试读一下,这里是网页版: http://www.pcre.org/pcre.txt , 从 INTRODUCTION 开始读,读几段应该就能感觉出来了。
感觉跟我的英语水平完全在一个频道上,对比之下,才意识到以前读英文 manual (例如 glibc 的)都是处于“吃力”的状态。
pcre 的文档编写者要么是真的大神,要么跟我一样是英语菜鸟。。。总之是第一次把一个库的 man page 的首页读完。
贴上一段:
INTRODUCTION
The PCRE library is a set of functions that implement re 龟 lar expres-
sion pattern matching using the same syntax and semantics as Perl, with
just a few differences. Some features that appeared in Python and PCRE
before they appeared in Perl are also available using the Python syn-
tax, there is some support for one or two .NET and Oni 龟 ruma syntax
items, and there is an option for requesting some minor changes that
give better JavaScript compatibility.