# New Ticket Created by H. Merijn Brand # Please include the string: [perl #123889] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=123889 >
$ p6 -e'"\x[00A0]".gist.say'
$ p6 -e'"\x[00A0]".perl.say'
" "
$ p6 -e'"\x[00A0]"~~/\s/ and "Yes".say'
$ p6 -e'uniprop(chr(0xa0)).say'
Zs
^- indicates whitespace
I don't know why U+200B (ZERO WIDTH SPACE) and U+FEFF (ZERO WIDTH NO-BREAK
SPACE)
are not, but I blame the consortium
$ p6 -e'uniprop(chr(0x200b)).say'
Cf
$ p6 -e'uniprop(chr(0xffef)).say'
Cn
U00a0 \N{NO-BREAK SPACE} (Zs, Common, NO-BREAK SPACE, Latin-1 Supplement)
U2002 \N{EN SPACE} (Zs, Common, EN SPACE, General Punctuation)
U2003 \N{EM SPACE} (Zs, Common, EM SPACE, General Punctuation)
:
U200a \N{HAIR SPACE} (Zs, Common, HAIR SPACE, General Punctuation)
U200b \N{ZERO WIDTH SPACE} (Cf, Common, ZERO WIDTH SPACE, General Punctuation)
--
H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/
using perl5.00307 .. 5.21 porting perl5 on HP-UX, AIX, and openSUSE
http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/
http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
pgpWrRjjMPza9.pgp
Description: PGP signature
