in reply to Re: unicode string comparison (perl 5.26)
in thread unicode string comparison (perl 5.26)
What more info do we need? The error does not occur when removing whitespaces (cleanup), but on checking if $last involves a digit or if $last is unicode, whichever comes first (tried either version, i.e.):
I1: if($last=~/[^/x00-\x7f]){...#here the exception occurs} I2: if($last !~/\d/){... # here the exception occurs is I1 is commented out }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: unicode string comparison (perl 5.26)
by haj (Vicar) on Nov 01, 2019 at 14:20 UTC | |
|
Re^3: unicode string comparison (perl 5.26)
by swl (Prior) on Nov 01, 2019 at 06:15 UTC | |
by AnomalousMonk (Archbishop) on Nov 01, 2019 at 19:24 UTC |