>perl -le "'aA' =~ /(.*)/i && print $1 aA
Only the matching is affected. /i causes lower- and upper-case letters to match lower- and upper-case versions of itself.
Maybe you were thinking of
>perl -le "lc('aA') =~ /(.*)/ && print $1 aa
In reply to Re^4: Making a regex case insensitive
by ikegami
in thread Making a regex case insensitive
by Win
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |