Jason> With Perl I might do something like this: Jason> $line =~ s/(select)/uc($1)/e; ... Jason> How would I do this with Python?
I'm sure there are plenty of ways to skin this particular cat, but how is 's/.../.../e' different from 's/.../.../'? (For those of us who are not Perl mongers.) Skip -- http://mail.python.org/mailman/listinfo/python-list