Subject: | Only match ASCII digits in e2charnum() |
The current implementation of e2charnum interprets nonASCII characters
that are numbers (e.g., BENGALI DIGIT SEVEN, ৭) as their numeric value
because the regex is too lenient. The regex should be limited to only
matching ASCII numbers so the function returns an appropriate result
given a nonASCII number.
For example, e2charnum(৭) currently returns 0 but with this patch it
returns undef. This is the correctly behavior because E<৭> should be
undefined, not 0.
Subject: | Escapes.pm |
Message body is not shown because it is too large.