in reply to international case insensitive searched with Perl
On my Linux system, I get "no match". Evidently, Perl doesn't
consider them a match because they aren't a match. For example:
That's on 5.8.8; however, on 5.14x and above, Anonymous Monk's suggestion about use feature 'unicode_strings' worked for me.#!perl -sl strict; warnings; binmode STDOUT, ':encoding(utf8)'; print my $str1 = "L\311GER"; print my $str2 = "l\351ger";
Update: fixed typo.
|
---|
In Section
Seekers of Perl Wisdom