The Puzzling Quirks of Regular Expressions
Support the author!
Lulu Editions
Paypal Donation
Other Publications
Very often in Python, or in other programming languages, you will want to wrap a regular expression in a small function rather than repeat it inline.