PLEAC-Erlang
Prev
Next
6. Pattern Matching
Introduction
Copying and Substituting Simultaneously
Matching Letters
Matching Words
Commenting Regular Expressions
Finding the Nth Occurrence of a Match
Matching Multiple Lines
Reading Records with a Pattern Separator
Extracting a Range of Lines
Matching Shell Globs as Regular Expressions
Speeding Up Interpolated Matches
Testing for a Valid Pattern
Honoring Locale Settings in Regular Expressions
Approximate Matching
Matching from Where the Last Pattern Left Off
Greedy and Non-Greedy Matches
Detecting Duplicate Words
Expressing AND, OR, and NOT in a Single Pattern
Matching Multiple-Byte Characters
Matching a Valid Mail Address
Matching Abbreviations
Program: urlify
Program: tcgrep
Regular Expression Grabbag
Prev
Home
Next
Hashes
File Access