On Thu, 19 Feb 2009 06:47:57 -0500, bearophile <bearophileHUGS at lycos.com> wrote: >If not already so, I'd like sub() to take as replacement a string or a callable. > >Bye, >bearophile I don't like 'sub' because it can denote anything. The most confusing is substring. 'replace' seems to be better.