JasonWith Perl I might do something like this:
Jason$line =~ s/(select)/uc($1)/e;
...
JasonHow 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
Comment