1 / 474
文档名称:

Mastering Regular Expressions, 2ed (O'Reilly, 2002) by Tantanoid.pdf

格式:pdf   页数:474
下载后只包含 1 个 PDF 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

Mastering Regular Expressions, 2ed (O'Reilly, 2002) by Tantanoid.pdf

上传人:kuo08091 2014/1/10 文件大小:0 KB

下载得到文件列表

Mastering Regular Expressions, 2ed (O'Reilly, 2002) by Tantanoid.pdf

文档介绍

文档介绍:Powerful Techniques for Perl and Other Tools
Mastering
Regular
Expressions
Jeffrey E. F. Friedl
Ta ble of Contents
Preface ..................................................................................................................... xv
1: Introduction to Regular Expressions ...................................................... 1
Solving Real Problems ........................................................................................ 2
Regular Expressions as a Language ................................................................... 4
The Filename Analogy ................................................................................. 4
The Language Analogy ................................................................................ 5
The Regular-Expr ession Frame of Mind ............................................................ 6
If You Have Some Regular-Expr ession Experience ................................... 6
Searching Text Files: Egrep ......................................................................... 6
Egr ep Metacharacters .......................................................................................... 8
Start and End of the Line ............................................................................. 8
Character Classes .......................................................................................... 9
Matching Any Character with Dot ............................................................. 11
Alter nation .................................................................................................. 13
Ignoring Differ ences in Capitalization ...................................................... 14
Word Boundaries ........................................................................................ 15
In a Nutshell ............................................................................................... 16
Optional Items .....................