http://qs321.pair.com?node_id=11136496


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:  <%-{-{-{-<