stereochrome

sregex - Structural regular expressions for Python

Structural regular expressions work by describing the shape of the whole string, not just the piece you want to match. Each pattern is a list of operators to perform on a string, each time constraining the range of text that matches the pattern.

Via bitworking.org; Created at 14:44 on November 2nd, 2009