in reply to How to use \l and \u in regex mathing patterns?

The  \l and  \u (and also  \L \U) operators are interpolation control operators. For upper- and lower-case regex character sets, see  [[:upper:]] and  [[:lower:]] among others, e.g., the Unicode classes. See 'Escape Sequences' section in perlre, also perlrecharclass.