in reply to Re: unicode string comparison (perl 5.26)
in thread unicode string comparison (perl 5.26)
I don't know if that will address the OP's problems:
$ perl -wE'"6\x{0666}\x{07c6}"=~/\D/ or say "All digits"'
All digits
$ perl -Mutf8 -wE'"6٦۶߆६৬੬૬୬௬౬೬൬෬๖໖༦၆႖៦᠖᥌᧖᪆᪖᭖᮶᱆᱖꘦꣖꤆꧖꧶꩖꯶6𐒦𑁬𑃶𑄼𑇖𑋶𑑖𑓖𑙖𑛆𑜶𑣦𑱖𑵖𖩦𖭖𝟔𝟞𝟨𝟲𝟼𞥖6"=~m/\D/ or say "All digits!"'
All digits!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: unicode string comparison (perl 5.26)
by BillKSmith (Monsignor) on Nov 02, 2019 at 19:00 UTC |