http://www.perlmonks.org?node_id=1024443


in reply to Re: change [A-Z] to U, [a-z] to L with one regex?
in thread change [A-Z] to U, [a-z] to L with one regex?

y/[A-Z]/U/, y/[a-z]/L/;

Doctrin didn't ask to change the characters [ or ] to U or L

y/A-Z/U/, y/a-z/L/;