On Mon, 2010-03-08 at 19:53 +0000, Soren Hansen wrote:
> > Perl's eclecticism :-)
> 
> Well, yeah, except this is Python :)

Oh, my... I must have been SO drunk to confuse Perl with Python.
But, wait: one could reach a similar level of conciseness even in
Python:

  re.sub(r"[^A-Za-z0-9]", "_", foo)

-- 
   // Bernie Innocenti - http://codewiz.org/
 \X/  Sugar Labs       - http://sugarlabs.org/

-- 
munin plugin suppresses numbers from VM names
https://bugs.launchpad.net/bugs/534397
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to