Regex Gone Wild in Python - A Primer for the Uninitiated

Warning: What follows is a descent into madness.

A Brief History of Regex

It all started innocently enough: a clever programmer's attempt to solve the Tower of Hanoi problem with regular expressions. But soon, the codebase became a tangled mess of backslashes and parentheses.

Basic Regex Patterns

1. The Basics

2. Advanced Patterns

Regex Gone Wild!

When things go too far:

A Cautionary Tale of a Codebase Consumed

Want to learn more about the dark side of regex?

Check out our Regex Nightmares Subpage

Join Our Regex Support Group

Because, honestly, you need to talk to someone about it.