in reply to Regular expression question
Assuming the translation is always one character for one character, the 'nice' way is to use the "transliteration" operator:
tr/abc/ABC/;You may want to peek at the work being done in supporting unicode for Perl. I'm positive that either somebody has already done what you are looking for, or that somebody would appreciate your efforts as a contribution.
Cheers!
|
|---|