In article <[EMAIL PROTECTED]>, "John Machin" <[EMAIL PROTECTED]> wrote:
> Getting back to the "It would be nice ..." bit: yes, it would be nice > to have even more smarts in re, but who's going to do it? It's not a > "rainy Sunday afternoon" job :-) Well, just as an idea, there is a portable C library for this at http://laurikari.net/tre/ released under LGPL. If one is willing to give up PCRE extensions for speed, it might be worth the work to wrap this library using SWIG. The cheap way in terms of programmer time is to pipe out to grep or awk on this one. -- http://mail.python.org/mailman/listinfo/python-list