in reply to Re^3: UTF8 versus \w in pattern matching (basic test)
in thread UTF8 versus \w in pattern matching
I get this output:use utf8; use Data::Dumper; use strict; use warnings; my $a; $a = "/i/\N{LATIN SMALL LETTER A WITH ACUTE}\N{LATIN SMALL LETTER E WI +TH ACUTE}\N{LATIN SMALL LETTER I WITH ACUTE}\N{LATIN SMALL LETTER O W +ITH ACUTE}\N{LATIN SMALL LETTER U WITH ACUTE}z/pl"; print Dumper($a);
$VAR1 = "/i/\x{e1}\x{e9}\x{ed}\x{f3}\x{fa}z/pl";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: UTF8 versus \w in pattern matching (basic test)
by LanX (Saint) on Jul 06, 2021 at 15:23 UTC | |
|
Re^5: UTF8 versus \w in pattern matching (basic test)
by jo37 (Curate) on Jul 06, 2021 at 16:18 UTC | |
by haj (Vicar) on Jul 06, 2021 at 17:54 UTC | |
by jo37 (Curate) on Jul 06, 2021 at 18:03 UTC | |
by ikegami (Patriarch) on Jul 06, 2021 at 21:07 UTC |