[Python-ideas] Regex support code as std lib functions
Matt Chaput
matt at whoosh.ca
Tue Sep 25 18:05:25 CEST 2012
I'm not sure where regex is in its long march toward replacing re, but I
just noticed something interesting: the regex module seems to include
implementations of some useful functions to support its regular
expression matching, e.g.:
- Levenshtein distance
- Unicode case folding
Both of these would be useful as fast functions in the std lib. If/when
regex replaces re, any possibility all the useful functions that support
it could be added to the std lib in the appropriate modules as part of
integrating it?
Cheers,
Matt
More information about the Python-ideas
mailing list