pattern-based string expansion
Andrew Dalke
dalke at acm.org
Thu Apr 20 01:48:22 EDT 2000
Nick Mathewson wrote:
>It's a very very simplified version of (a subset of (a more general
>regex-manipulation module for (a project that I'm working on))). I
>didn't need an expansion function for my project, but it was pretty
>easy to hack one up.
You'ld probably be interested to know that Python 1.6a has an
sre_parse module which parses regular expressions into a Python
data structure. But technically the distribution says you can
only use that module for alpha/beta testing.
Andrew
More information about the Python-list
mailing list