Making regex suck less

Greg Ewing see_reply_address at something.invalid
Mon Sep 2 01:55:05 EDT 2002


François Pinard wrote:

> [Henrik Motakef]
> 
> PLEX has a Python way to describe regular expressions.  It is likely available
> stand-alone.

http://www.cosc.canterbury.ac.nz/~greg/python/Plex/

You get documentation as well if you get it from there. :-)

Note that Plex's RE implementation is very special
purpose -- you couldn't use it as a direct replacement
for the re module. But a wrapper for the RE module
which uses the same syntax could easily be made.

-- 
Greg Ewing, Computer Science Dept,
University of Canterbury,	
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg




More information about the Python-list mailing list