Peter Otten wrote:
> unicode.translate() supports this kind of replacement...

> and re.compile(...).sub() accepts a function:

Thanks Peter!


-- 
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095

http://www.jamesstroud.com/
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to