Keep It Simple, Stupid | |
PerlMonks |
Re^14: Seeking Perl docs about how UTF8 flag propagates (Terminology)by ikegami (Patriarch) |
on May 23, 2023 at 01:27 UTC ( [id://11152376]=note: print w/replies, xml ) | Need Help?? |
It doesn't "default to ASCII". It works against decoded text aka string of Unicode Code Points. Always. Even without pragmas. This can be demonstrated using "\N{U+100}" =~ /\w/ (which matches). You need to use /a if to limit it to the ASCII range.
In Section
Seekers of Perl Wisdom
|
|