Books & Videos

Table of Contents

  1. Chapter 1 Introduction to Regular Expressions

    1. Solving Real Problems

    2. Regular Expressions as a Language

    3. The Regular-Expression Frame of Mind

    4. Egrep Metacharacters

    5. Expanding the Foundation

    6. Personal Glimpses

    7. Quiz Answer

  2. Chapter 2 Extended Introductory Examples

    1. About the Examples

    2. Matching Text with Regular Expressions

    3. Modifying Text with Regular Expressions

    4. Quiz Answers

  3. Chapter 3 Overview of Regular Expression Features and Flavors

    1. A Casual Stroll Across the Regex Landscape

    2. Care and Handling of Regular Expressions

    3. Strings, Character Encodings, and Modes

    4. Common Metacharacters and Features

    5. Guide to the Advanced Chapters

  4. Chapter 4 The Mechanics of Expression Processing

    1. Start Your Engines!

    2. Match Basics

    3. Regex-Directed Versus Text-Directed

    4. Backtracking

    5. More About Greediness and Backtracking

    6. NFA, DFA, and POSIX

    7. Summary

    8. Quiz Answers

  5. Chapter 5 Practical Regex Techniques

    1. Regex Balancing Act

    2. A Few Short Examples

    3. HTML-Related Examples

    4. Extended Examples

  6. Chapter 6 Crafting an Efficient Expression

    1. A Sobering Example

    2. A Global View of Backtracking

    3. Benchmarking

    4. Common Optimizations

    5. Techniques for Faster Expressions

    6. Unrolling the Loop

    7. The Freeflowing Regex

    8. In Summary: Think!

    9. Quize Answers

  7. Chapter 7 Perl

    1. Regular Expressions as a Language Component

    2. Perl's Regex Flavor

    3. Regex-Related Perlisms

    4. The qr/···/ Operator and Regex Objects

    5. The Match Operator

    6. The Substitution Operator

    7. The Split Operator

    8. Fun with Perl Enhancements

    9. Perl Efficiency Issues

    10. Final Comments

  8. Chapter 8 Java

    1. Judging a Regex Package

    2. Object Models

    3. Packages, Packages, Packages

    4. Sun's Regex Package

    5. A Quick Look at Jakarta-ORO

  9. Chapter 9 .NET

    1. .NET's Regex Flavor

    2. Using .NET Regular Expressions

    3. Core Object Details

    4. Static "Convenience" Functions

    5. Support Functions

    6. Advanced .NET

  1. About the Author

  2. Colophon