![]() |
|
P is for Practical | |
PerlMonks |
Re: Common Regex Gotchasby John M. Dlugosz (Monsignor) |
on Jul 06, 2001 at 07:47 UTC ( #94375=note: print w/replies, xml ) | Need Help?? |
I'd like to point out that tr/a-z/A-Z/ does something different from uc or \U. The former won't deal with "Peña", for example. The latter treats accented characters correctly according to the language in use, and potentially handles weird things like German ß and letters in additon to the normal 26 in English, such as þ.
In Section
Tutorials
|
|