This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Fix bug with a digit range under re 'strict'
authorKarl Williamson <khw@cpan.org>
Fri, 13 Jan 2017 20:53:17 +0000 (13:53 -0700)
committerKarl Williamson <khw@cpan.org>
Thu, 19 Jan 2017 17:24:01 +0000 (10:24 -0700)
"use re 'strict" is supposed to warn if a range whose start and end
points are digits aren't from the same group of 10.  For example, if you
mix Bengali and Thai digits.  It wasn't working properly for 5 groups of
mathematical digits starting at U+1D7E.  This commit fixes that, and
refactors the code to bail out as soon as it discovers that no warning
is warranted, instead of doing unnecessary work.


No differences found