use feature 'unicode_strings'; my $string = 'ŠIN'; print $string =~ /šin/i ? 'matched' : 'no match';