in reply to Re^4: Problem with regex wildcard operator (.)...?
in thread Problem with regex wildcard operator (.)...?
I am not sure why your code seems to work.
It works because \[ is just an escaped [, so tr/\[A-Z]/[a-z]/ is translating [ to [, ] to ], and uppercase to lowercase. Any other character, e.g., \, is unaffected.
Give a man a fish: <%-{-{-{-<
In Section
Seekers of Perl Wisdom