What's the quickest (and most Pythonic) way to do the following Perlism:
$str = s/d+/d/;(i.e. collapsing multiple occurrences of the letter 'd' to just one) Thanks, Jeff _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
