Mastering Regular Expressions, Second Edition
By
Jeffrey E. F. Friedl
July 2002
Pages: 484
| Table of Contents
| Index
| Sample Chapters
| Colophon
Table of Contents
-
Chapter 1 Introduction to Regular Expressions
-
Solving Real Problems
-
Regular Expressions as a Language
-
The Regular-Expression Frame of Mind
-
Egrep Metacharacters
-
Expanding the Foundation
-
Personal Glimpses
-
Quiz Answer
-
Chapter 2 Extended Introductory Examples
-
About the Examples
-
Matching Text with Regular Expressions
-
Modifying Text with Regular Expressions
-
Quiz Answers
-
Chapter 3 Overview of Regular Expression Features and Flavors
-
A Casual Stroll Across the Regex Landscape
-
Care and Handling of Regular Expressions
-
Strings, Character Encodings, and Modes
-
Common Metacharacters and Features
-
Guide to the Advanced Chapters
-
Chapter 4 The Mechanics of Expression Processing
-
Start Your Engines!
-
Match Basics
-
Regex-Directed Versus Text-Directed
-
Backtracking
-
More About Greediness and Backtracking
-
NFA, DFA, and POSIX
-
Summary
-
Quiz Answers
-
Chapter 5 Practical Regex Techniques
-
Regex Balancing Act
-
A Few Short Examples
-
HTML-Related Examples
-
Extended Examples
-
Chapter 6 Crafting an Efficient Expression
-
A Sobering Example
-
A Global View of Backtracking
-
Benchmarking
-
Common Optimizations
-
Techniques for Faster Expressions
-
Unrolling the Loop
-
The Freeflowing Regex
-
In Summary: Think!
-
Quize Answers
-
Chapter 7 Perl
-
Regular Expressions as a Language Component
-
Perl's Regex Flavor
-
Regex-Related Perlisms
-
The qr/···/ Operator and Regex Objects
-
The Match Operator
-
The Substitution Operator
-
The Split Operator
-
Fun with Perl Enhancements
-
Perl Efficiency Issues
-
Final Comments
-
Chapter 8 Java
-
Judging a Regex Package
-
Object Models
-
Packages, Packages, Packages
-
Sun's Regex Package
-
A Quick Look at Jakarta-ORO
-
Chapter 9 .NET
-
.NET's Regex Flavor
-
Using .NET Regular Expressions
-
Core Object Details
-
Static "Convenience" Functions
-
Support Functions
-
Advanced .NET
-
About the Author
-
Colophon
Return to Mastering Regular Expressions