Subject: | Pure Perl version of looks_like_number thinks Unicode digits are numbers |
The pure Perl version uses \d in looks_like_number. \d matches more
than [0-9] in 5.8 and later, so the pure Perl version incorrectly
reports "\x{1815}" (MONGOLIAN DIGIT FIVE) as a number. I have attached
a patch that changes the pure Perl version to use [0-9] instead of \d in
looks_like_number and added a test to t/lln.t.
Subject: | patch |