in reply to Re: Any good ways to handle NARROW NO-BREAK SPACE characters in regex in newer versions of Perl?
in thread Any good ways to handle NARROW NO-BREAK SPACE characters in regex in newer versions of Perl?
Hmmm. Thanks. Maybe it's not the character I think it is:
> $ perl -wMstrict -lE "qq/Screenshot-2024-02-23-at-1.05.14 AM.p +ng/ =~ /\s/ and say 'OK' or die" Died at -e line 1.
The #8239 popped in after submitting this post. It's not actually in the code.
#8239 is 202F in hex. I don't get this.
This doesn't even work:
> $ perl -wMstrict -lE "qq/Screenshot-2024-02-23-at-1.05.14 AM.p +ng/ =~ /\x{202F}/ and say 'OK' or die" + + + Died at -e line 1.
$PM = "Perl Monk's";
$MC = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest Vicar Parson";
$nysus = $PM . ' ' . $MC;
Click here if you love Perl Monks
|
---|